Interface TerminologyProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TerminologyProperties.Builder,
,TerminologyProperties> SdkBuilder<TerminologyProperties.Builder,
,TerminologyProperties> SdkPojo
- Enclosing class:
TerminologyProperties
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the custom terminology.The time at which the custom terminology was created, based on the timestamp.description
(String description) The description of the custom terminology properties.directionality
(String directionality) The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).directionality
(Directionality directionality) The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).default TerminologyProperties.Builder
encryptionKey
(Consumer<EncryptionKey.Builder> encryptionKey) The encryption key for the custom terminology.encryptionKey
(EncryptionKey encryptionKey) The encryption key for the custom terminology.The format of the custom terminology input file.format
(TerminologyDataFormat format) The format of the custom terminology input file.lastUpdatedAt
(Instant lastUpdatedAt) The time at which the custom terminology was last update, based on the timestamp.Additional information from Amazon Translate about the terminology resource.The name of the custom terminology.The size of the file used when importing a custom terminology.skippedTermCount
(Integer skippedTermCount) The number of terms in the input file that Amazon Translate skipped when you created or updated the terminology resource.sourceLanguageCode
(String sourceLanguageCode) The language code for the source text of the translation request for which the custom terminology is being used.targetLanguageCodes
(String... targetLanguageCodes) The language codes for the target languages available with the custom terminology resource.targetLanguageCodes
(Collection<String> targetLanguageCodes) The language codes for the target languages available with the custom terminology resource.The number of terms included in the custom terminology.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.
- Parameters:
name
- The name of the custom terminology.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the custom terminology properties.
- Parameters:
description
- The description of the custom terminology properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the custom terminology.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the custom terminology.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceLanguageCode
The language code for the source text of the translation request for which the custom terminology is being used.
- Parameters:
sourceLanguageCode
- The language code for the source text of the translation request for which the custom terminology is being used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetLanguageCodes
The language codes for the target languages available with the custom terminology resource. All possible target languages are returned in array.
- Parameters:
targetLanguageCodes
- The language codes for the target languages available with the custom terminology resource. All possible target languages are returned in array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetLanguageCodes
The language codes for the target languages available with the custom terminology resource. All possible target languages are returned in array.
- Parameters:
targetLanguageCodes
- The language codes for the target languages available with the custom terminology resource. All possible target languages are returned in array.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKey
The encryption key for the custom terminology.
- Parameters:
encryptionKey
- The encryption key for the custom terminology.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKey
The encryption key for the custom terminology.
This is a convenience method that creates an instance of theEncryptionKey.Builder
avoiding the need to create one manually viaEncryptionKey.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionKey(EncryptionKey)
.- Parameters:
encryptionKey
- a consumer that will call methods onEncryptionKey.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sizeBytes
The size of the file used when importing a custom terminology.
- Parameters:
sizeBytes
- The size of the file used when importing a custom terminology.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
termCount
The number of terms included in the custom terminology.
- Parameters:
termCount
- The number of terms included in the custom terminology.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The time at which the custom terminology was created, based on the timestamp.
- Parameters:
createdAt
- The time at which the custom terminology was created, based on the timestamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
The time at which the custom terminology was last update, based on the timestamp.
- Parameters:
lastUpdatedAt
- The time at which the custom terminology was last update, based on the timestamp.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
directionality
The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).
- UNI
-
The terminology resource has one source language (the first column in a CSV file), and all of its other languages are target languages.
- MULTI
-
Any language in the terminology resource can be the source language.
- Parameters:
directionality
- The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).- UNI
-
The terminology resource has one source language (the first column in a CSV file), and all of its other languages are target languages.
- MULTI
-
Any language in the terminology resource can be the source language.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
directionality
The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).
- UNI
-
The terminology resource has one source language (the first column in a CSV file), and all of its other languages are target languages.
- MULTI
-
Any language in the terminology resource can be the source language.
- Parameters:
directionality
- The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).- UNI
-
The terminology resource has one source language (the first column in a CSV file), and all of its other languages are target languages.
- MULTI
-
Any language in the terminology resource can be the source language.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
Additional information from Amazon Translate about the terminology resource.
- Parameters:
message
- Additional information from Amazon Translate about the terminology resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
skippedTermCount
The number of terms in the input file that Amazon Translate skipped when you created or updated the terminology resource.
- Parameters:
skippedTermCount
- The number of terms in the input file that Amazon Translate skipped when you created or updated the terminology resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
format
The format of the custom terminology input file.
- Parameters:
format
- The format of the custom terminology input file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
The format of the custom terminology input file.
- Parameters:
format
- The format of the custom terminology input file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-