Class GetTranslatedDocumentOptions.Builder
java.lang.Object
com.ibm.watson.language_translator.v3.model.GetTranslatedDocumentOptions.Builder
- Enclosing class:
- GetTranslatedDocumentOptions
public static class GetTranslatedDocumentOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description GetTranslatedDocumentOptions.Builder
accept(String accept)
Set the accept.GetTranslatedDocumentOptions
build()
Builds a GetTranslatedDocumentOptions.GetTranslatedDocumentOptions.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 GetTranslatedDocumentOptions.- Returns:
- the new GetTranslatedDocumentOptions instance
-
documentId
Set the documentId.- Parameters:
documentId
- the documentId- Returns:
- the GetTranslatedDocumentOptions builder
-
accept
Set the accept.- Parameters:
accept
- the accept- Returns:
- the GetTranslatedDocumentOptions builder
-