Class GetProjectOptions.Builder

java.lang.Object
com.ibm.watson.discovery.v2.model.GetProjectOptions.Builder
Enclosing class:
GetProjectOptions

public static class GetProjectOptions.Builder
extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

      public GetProjectOptions build()
      Builds a GetProjectOptions.
      Returns:
      the new GetProjectOptions instance
    • projectId

      public GetProjectOptions.Builder projectId​(String projectId)
      Set the projectId.
      Parameters:
      projectId - the projectId
      Returns:
      the GetProjectOptions builder