Class GetCollectionOptions.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

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

      public GetCollectionOptions.Builder projectId​(String projectId)
      Set the projectId.
      Parameters:
      projectId - the projectId
      Returns:
      the GetCollectionOptions builder
    • collectionId

      public GetCollectionOptions.Builder collectionId​(String collectionId)
      Set the collectionId.
      Parameters:
      collectionId - the collectionId
      Returns:
      the GetCollectionOptions builder