public static interface TranslateDocumentResponse.Builder extends TranslateResponse.Builder, SdkPojo, CopyableBuilder<TranslateDocumentResponse.Builder,TranslateDocumentResponse>
| Modifier and Type | Method and Description |
|---|---|
default TranslateDocumentResponse.Builder |
appliedSettings(Consumer<TranslationSettings.Builder> appliedSettings)
Sets the value of the AppliedSettings property for this object.
|
TranslateDocumentResponse.Builder |
appliedSettings(TranslationSettings appliedSettings)
Sets the value of the AppliedSettings property for this object.
|
TranslateDocumentResponse.Builder |
appliedTerminologies(AppliedTerminology... appliedTerminologies)
The names of the custom terminologies applied to the input text by Amazon Translate to produce the translated
text document.
|
TranslateDocumentResponse.Builder |
appliedTerminologies(Collection<AppliedTerminology> appliedTerminologies)
The names of the custom terminologies applied to the input text by Amazon Translate to produce the translated
text document.
|
TranslateDocumentResponse.Builder |
appliedTerminologies(Consumer<AppliedTerminology.Builder>... appliedTerminologies)
The names of the custom terminologies applied to the input text by Amazon Translate to produce the translated
text document.
|
TranslateDocumentResponse.Builder |
sourceLanguageCode(String sourceLanguageCode)
The language code of the source document.
|
TranslateDocumentResponse.Builder |
targetLanguageCode(String targetLanguageCode)
The language code of the translated document.
|
default TranslateDocumentResponse.Builder |
translatedDocument(Consumer<TranslatedDocument.Builder> translatedDocument)
The document containing the translated content.
|
TranslateDocumentResponse.Builder |
translatedDocument(TranslatedDocument translatedDocument)
The document containing the translated content.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildTranslateDocumentResponse.Builder translatedDocument(TranslatedDocument translatedDocument)
The document containing the translated content. The document format matches the source document format.
translatedDocument - The document containing the translated content. The document format matches the source document
format.default TranslateDocumentResponse.Builder translatedDocument(Consumer<TranslatedDocument.Builder> translatedDocument)
The document containing the translated content. The document format matches the source document format.
This is a convenience method that creates an instance of theTranslatedDocument.Builder avoiding the
need to create one manually via TranslatedDocument.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to translatedDocument(TranslatedDocument).
translatedDocument - a consumer that will call methods on TranslatedDocument.BuildertranslatedDocument(TranslatedDocument)TranslateDocumentResponse.Builder sourceLanguageCode(String sourceLanguageCode)
The language code of the source document.
sourceLanguageCode - The language code of the source document.TranslateDocumentResponse.Builder targetLanguageCode(String targetLanguageCode)
The language code of the translated document.
targetLanguageCode - The language code of the translated document.TranslateDocumentResponse.Builder appliedTerminologies(Collection<AppliedTerminology> appliedTerminologies)
The names of the custom terminologies applied to the input text by Amazon Translate to produce the translated text document.
appliedTerminologies - The names of the custom terminologies applied to the input text by Amazon Translate to produce the
translated text document.TranslateDocumentResponse.Builder appliedTerminologies(AppliedTerminology... appliedTerminologies)
The names of the custom terminologies applied to the input text by Amazon Translate to produce the translated text document.
appliedTerminologies - The names of the custom terminologies applied to the input text by Amazon Translate to produce the
translated text document.TranslateDocumentResponse.Builder appliedTerminologies(Consumer<AppliedTerminology.Builder>... appliedTerminologies)
The names of the custom terminologies applied to the input text by Amazon Translate to produce the translated text document.
This is a convenience method that creates an instance of theAppliedTerminology.Builder avoiding the need to
create one manually via AppliedTerminology.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #appliedTerminologies(List.
appliedTerminologies - a consumer that will call methods on
AppliedTerminology.Builder#appliedTerminologies(java.util.Collection) TranslateDocumentResponse.Builder appliedSettings(TranslationSettings appliedSettings)
appliedSettings - The new value for the AppliedSettings property for this object.default TranslateDocumentResponse.Builder appliedSettings(Consumer<TranslationSettings.Builder> appliedSettings)
TranslationSettings.Builder avoiding the
need to create one manually via TranslationSettings.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to appliedSettings(TranslationSettings).
appliedSettings - a consumer that will call methods on TranslationSettings.BuilderappliedSettings(TranslationSettings)Copyright © 2023. All rights reserved.