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 Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder​(String environmentId, String gatewayId)
      Instantiates a new builder with required properties.
      Parameters:
      environmentId - the environmentId
      gatewayId - the gatewayId
  • Method Details

    • build

      public GetGatewayOptions build()
      Builds a GetGatewayOptions.
      Returns:
      the new GetGatewayOptions instance
    • environmentId

      public GetGatewayOptions.Builder environmentId​(String environmentId)
      Set the environmentId.
      Parameters:
      environmentId - the environmentId
      Returns:
      the GetGatewayOptions builder
    • gatewayId

      public GetGatewayOptions.Builder gatewayId​(String gatewayId)
      Set the gatewayId.
      Parameters:
      gatewayId - the gatewayId
      Returns:
      the GetGatewayOptions builder