Class CreateEnvironmentOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.CreateEnvironmentOptions.Builder
- Enclosing class:
- CreateEnvironmentOptions
public static class CreateEnvironmentOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description CreateEnvironmentOptionsbuild()Builds a CreateEnvironmentOptions.CreateEnvironmentOptions.Builderdescription(String description)Set the description.CreateEnvironmentOptions.Buildername(String name)Set the name.CreateEnvironmentOptions.Buildersize(String size)Set the size.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
name- the name
-
-
Method Details
-
build
Builds a CreateEnvironmentOptions.- Returns:
- the new CreateEnvironmentOptions instance
-
name
Set the name.- Parameters:
name- the name- Returns:
- the CreateEnvironmentOptions builder
-
description
Set the description.- Parameters:
description- the description- Returns:
- the CreateEnvironmentOptions builder
-
size
Set the size.- Parameters:
size- the size- Returns:
- the CreateEnvironmentOptions builder
-