public static class GetTranslatedDocumentOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String documentId)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
GetTranslatedDocumentOptions.Builder |
accept(String accept)
Set the accept.
|
GetTranslatedDocumentOptions |
build()
Builds a GetTranslatedDocumentOptions.
|
GetTranslatedDocumentOptions.Builder |
documentId(String documentId)
Set the documentId.
|
public Builder()
public Builder(String documentId)
documentId
- the documentIdpublic GetTranslatedDocumentOptions build()
public GetTranslatedDocumentOptions.Builder documentId(String documentId)
documentId
- the documentIdpublic GetTranslatedDocumentOptions.Builder accept(String accept)
accept
- the acceptCopyright © 2022 IBM Cloud. All rights reserved.