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 Summary
-
Method Summary
Modifier and Type Method Description GetDocumentStatusOptions
build()
Builds a GetDocumentStatusOptions.GetDocumentStatusOptions.Builder
collectionId(String collectionId)
Set the collectionId.GetDocumentStatusOptions.Builder
documentId(String documentId)
Set the documentId.GetDocumentStatusOptions.Builder
environmentId(String environmentId)
Set the environmentId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
environmentId
- the environmentIdcollectionId
- the collectionIddocumentId
- the documentId
-
-
Method Details
-
build
Builds a GetDocumentStatusOptions.- Returns:
- the new GetDocumentStatusOptions instance
-
environmentId
Set the environmentId.- Parameters:
environmentId
- the environmentId- Returns:
- the GetDocumentStatusOptions builder
-
collectionId
Set the collectionId.- Parameters:
collectionId
- the collectionId- Returns:
- the GetDocumentStatusOptions builder
-
documentId
Set the documentId.- Parameters:
documentId
- the documentId- Returns:
- the GetDocumentStatusOptions builder
-