public static interface TranslateTextResponse.Builder extends TranslateResponse.Builder, SdkPojo, CopyableBuilder<TranslateTextResponse.Builder,TranslateTextResponse>
Modifier and Type | Method and Description |
---|---|
TranslateTextResponse.Builder |
appliedTerminologies(AppliedTerminology... appliedTerminologies)
The names of the custom terminologies applied to the input text by Amazon Translate for the translated text
response.
|
TranslateTextResponse.Builder |
appliedTerminologies(Collection<AppliedTerminology> appliedTerminologies)
The names of the custom terminologies applied to the input text by Amazon Translate for the translated text
response.
|
TranslateTextResponse.Builder |
appliedTerminologies(Consumer<AppliedTerminology.Builder>... appliedTerminologies)
The names of the custom terminologies applied to the input text by Amazon Translate for the translated text
response.
|
TranslateTextResponse.Builder |
sourceLanguageCode(String sourceLanguageCode)
The language code for the language of the source text.
|
TranslateTextResponse.Builder |
targetLanguageCode(String targetLanguageCode)
The language code for the language of the target text.
|
TranslateTextResponse.Builder |
translatedText(String translatedText)
The the translated text.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
TranslateTextResponse.Builder translatedText(String translatedText)
The the translated text. The maximum length of this text is 5kb.
translatedText
- The the translated text. The maximum length of this text is 5kb.TranslateTextResponse.Builder sourceLanguageCode(String sourceLanguageCode)
The language code for the language of the source text.
sourceLanguageCode
- The language code for the language of the source text.TranslateTextResponse.Builder targetLanguageCode(String targetLanguageCode)
The language code for the language of the target text.
targetLanguageCode
- The language code for the language of the target text.TranslateTextResponse.Builder appliedTerminologies(Collection<AppliedTerminology> appliedTerminologies)
The names of the custom terminologies applied to the input text by Amazon Translate for the translated text response.
appliedTerminologies
- The names of the custom terminologies applied to the input text by Amazon Translate for the translated
text response.TranslateTextResponse.Builder appliedTerminologies(AppliedTerminology... appliedTerminologies)
The names of the custom terminologies applied to the input text by Amazon Translate for the translated text response.
appliedTerminologies
- The names of the custom terminologies applied to the input text by Amazon Translate for the translated
text response.TranslateTextResponse.Builder appliedTerminologies(Consumer<AppliedTerminology.Builder>... appliedTerminologies)
The names of the custom terminologies applied to the input text by Amazon Translate for the translated text response.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #appliedTerminologies(List)
.appliedTerminologies
- a consumer that will call methods on List.Builder
#appliedTerminologies(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.