public static interface AppliedTerminology.Builder extends SdkPojo, CopyableBuilder<AppliedTerminology.Builder,AppliedTerminology>
| Modifier and Type | Method and Description |
|---|---|
AppliedTerminology.Builder |
name(String name)
The name of the custom terminology applied to the input text by Amazon Translate for the translated text
response.
|
AppliedTerminology.Builder |
terms(Collection<Term> terms)
The specific terms of the custom terminology applied to the input text by Amazon Translate for the translated
text response.
|
AppliedTerminology.Builder |
terms(Consumer<Term.Builder>... terms)
The specific terms of the custom terminology applied to the input text by Amazon Translate for the translated
text response.
|
AppliedTerminology.Builder |
terms(Term... terms)
The specific terms of the custom terminology applied to the input text by Amazon Translate for the translated
text response.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAppliedTerminology.Builder name(String name)
The name of the custom terminology applied to the input text by Amazon Translate for the translated text response.
name - The name of the custom terminology applied to the input text by Amazon Translate for the translated
text response.AppliedTerminology.Builder terms(Collection<Term> terms)
The specific terms of the custom terminology applied to the input text by Amazon Translate for the translated text response. A maximum of 250 terms will be returned, and the specific terms applied will be the first 250 terms in the source text.
terms - The specific terms of the custom terminology applied to the input text by Amazon Translate for the
translated text response. A maximum of 250 terms will be returned, and the specific terms applied will
be the first 250 terms in the source text.AppliedTerminology.Builder terms(Term... terms)
The specific terms of the custom terminology applied to the input text by Amazon Translate for the translated text response. A maximum of 250 terms will be returned, and the specific terms applied will be the first 250 terms in the source text.
terms - The specific terms of the custom terminology applied to the input text by Amazon Translate for the
translated text response. A maximum of 250 terms will be returned, and the specific terms applied will
be the first 250 terms in the source text.AppliedTerminology.Builder terms(Consumer<Term.Builder>... terms)
The specific terms of the custom terminology applied to the input text by Amazon Translate for the translated text response. A maximum of 250 terms will be returned, and the specific terms applied will be the first 250 terms in the source text.
This is a convenience method that creates an instance of theTerm.Builder avoiding the need to create one manually
via Term.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #terms(List.
terms - a consumer that will call methods on
Term.Builder#terms(java.util.Collection) Copyright © 2023. All rights reserved.