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 Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

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

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

      public CreateGatewayOptions.Builder name​(String name)
      Set the name.
      Parameters:
      name - the name
      Returns:
      the CreateGatewayOptions builder