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