public static class GetTranslatedDocumentOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(java.lang.String documentId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
GetTranslatedDocumentOptions.Builder |
accept(java.lang.String accept)
Set the accept.
|
GetTranslatedDocumentOptions |
build()
Builds a GetTranslatedDocumentOptions.
|
GetTranslatedDocumentOptions.Builder |
documentId(java.lang.String documentId)
Set the documentId.
|
public Builder()
public Builder(java.lang.String documentId)
documentId
- the documentIdpublic GetTranslatedDocumentOptions build()
public GetTranslatedDocumentOptions.Builder documentId(java.lang.String documentId)
documentId
- the documentIdpublic GetTranslatedDocumentOptions.Builder accept(java.lang.String accept)
accept
- the accept