Class GetDocumentStatusOptions.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

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

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

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

      public GetDocumentStatusOptions.Builder documentId​(String documentId)
      Set the documentId.
      Parameters:
      documentId - the documentId
      Returns:
      the GetDocumentStatusOptions builder