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.
|
copy
applyMutation, build
AppliedTerminology.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 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 #terms(List)
.terms
- a consumer that will call methods on List.Builder
#terms(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.