Class DeleteDocumentOptions.Builder
java.lang.Object
com.ibm.watson.language_translator.v3.model.DeleteDocumentOptions.Builder
- Enclosing class:
- DeleteDocumentOptions
public static class DeleteDocumentOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description DeleteDocumentOptions
build()
Builds a DeleteDocumentOptions.DeleteDocumentOptions.Builder
documentId(String documentId)
Set the documentId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
documentId
- the documentId
-
-
Method Details
-
build
Builds a DeleteDocumentOptions.- Returns:
- the new DeleteDocumentOptions instance
-
documentId
Set the documentId.- Parameters:
documentId
- the documentId- Returns:
- the DeleteDocumentOptions builder
-