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