Class GetEnvironmentOptions.Builder

java.lang.Object
com.ibm.watson.discovery.v1.model.GetEnvironmentOptions.Builder
Enclosing class:
GetEnvironmentOptions

public static class GetEnvironmentOptions.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 GetEnvironmentOptions build()
      Builds a GetEnvironmentOptions.
      Returns:
      the new GetEnvironmentOptions instance
    • environmentId

      public GetEnvironmentOptions.Builder environmentId​(String environmentId)
      Set the environmentId.
      Parameters:
      environmentId - the environmentId
      Returns:
      the GetEnvironmentOptions builder