Interface AppliedTerminology.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AppliedTerminology.Builder,
,AppliedTerminology> SdkBuilder<AppliedTerminology.Builder,
,AppliedTerminology> SdkPojo
- Enclosing class:
AppliedTerminology
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the custom terminology applied to the input text by Amazon Translate for the translated text response.terms
(Collection<Term> terms) The specific terms of the custom terminology applied to the input text by Amazon Translate for the translated text response.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.The specific terms of the custom terminology applied to the input text by Amazon Translate for the translated text response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the custom terminology applied to the input text by Amazon Translate for the translated text response.
- Parameters:
name
- The name of the custom terminology applied to the input text by Amazon Translate for the translated text response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaTerm.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toterms(List<Term>)
.- Parameters:
terms
- a consumer that will call methods onTerm.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-