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