Class GetGatewayOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.GetGatewayOptions.Builder
- Enclosing class:
- GetGatewayOptions
public static class GetGatewayOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description GetGatewayOptionsbuild()Builds a GetGatewayOptions.GetGatewayOptions.BuilderenvironmentId(String environmentId)Set the environmentId.GetGatewayOptions.BuildergatewayId(String gatewayId)Set the gatewayId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
environmentId- the environmentIdgatewayId- the gatewayId
-
-
Method Details
-
build
Builds a GetGatewayOptions.- Returns:
- the new GetGatewayOptions instance
-
environmentId
Set the environmentId.- Parameters:
environmentId- the environmentId- Returns:
- the GetGatewayOptions builder
-
gatewayId
Set the gatewayId.- Parameters:
gatewayId- the gatewayId- Returns:
- the GetGatewayOptions builder
-