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