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 CreateEnvironmentOptions
build()
Builds a CreateEnvironmentOptions.CreateEnvironmentOptions.Builder
description(String description)
Set the description.CreateEnvironmentOptions.Builder
name(String name)
Set the name.CreateEnvironmentOptions.Builder
size(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
-