Class CreateGatewayOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.CreateGatewayOptions.Builder
- Enclosing class:
- CreateGatewayOptions
public static class CreateGatewayOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description CreateGatewayOptionsbuild()Builds a CreateGatewayOptions.CreateGatewayOptions.BuilderenvironmentId(String environmentId)Set the environmentId.CreateGatewayOptions.Buildername(String name)Set the name.
-
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 CreateGatewayOptions.- Returns:
- the new CreateGatewayOptions instance
-
environmentId
Set the environmentId.- Parameters:
environmentId- the environmentId- Returns:
- the CreateGatewayOptions builder
-
name
Set the name.- Parameters:
name- the name- Returns:
- the CreateGatewayOptions builder
-