public static class GetTranslatedDocumentOptions.Builder
extends java.lang.Object
| Constructor and Description |
|---|
GetTranslatedDocumentOptions.Builder()
Instantiates a new builder.
|
GetTranslatedDocumentOptions.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 GetTranslatedDocumentOptions.Builder()
public GetTranslatedDocumentOptions.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