Interface TerminologyProperties.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TerminologyProperties.Builder,TerminologyProperties>,SdkBuilder<TerminologyProperties.Builder,TerminologyProperties>,SdkPojo
- Enclosing class:
- TerminologyProperties
public static interface TerminologyProperties.Builder extends SdkPojo, CopyableBuilder<TerminologyProperties.Builder,TerminologyProperties>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TerminologyProperties.Builderarn(String arn)The Amazon Resource Name (ARN) of the custom terminology.TerminologyProperties.BuildercreatedAt(Instant createdAt)The time at which the custom terminology was created, based on the timestamp.TerminologyProperties.Builderdescription(String description)The description of the custom terminology properties.TerminologyProperties.Builderdirectionality(String directionality)The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).TerminologyProperties.Builderdirectionality(Directionality directionality)The directionality of your terminology resource indicates whether it has one source language (uni-directional) or multiple (multi-directional).default TerminologyProperties.BuilderencryptionKey(Consumer<EncryptionKey.Builder> encryptionKey)The encryption key for the custom terminology.TerminologyProperties.BuilderencryptionKey(EncryptionKey encryptionKey)The encryption key for the custom terminology.TerminologyProperties.Builderformat(String format)The format of the custom terminology input file.TerminologyProperties.Builderformat(TerminologyDataFormat format)The format of the custom terminology input file.TerminologyProperties.BuilderlastUpdatedAt(Instant lastUpdatedAt)The time at which the custom terminology was last update, based on the timestamp.TerminologyProperties.Buildermessage(String message)Additional information from Amazon Translate about the terminology resource.TerminologyProperties.Buildername(String name)The name of the custom terminology.TerminologyProperties.BuildersizeBytes(Integer sizeBytes)The size of the file used when importing a custom terminology.TerminologyProperties.BuilderskippedTermCount(Integer skippedTermCount)The number of terms in the input file that Amazon Translate skipped when you created or updated the terminology resource.TerminologyProperties.BuildersourceLanguageCode(String sourceLanguageCode)The language code for the source text of the translation request for which the custom terminology is being used.TerminologyProperties.BuildertargetLanguageCodes(String... targetLanguageCodes)The language codes for the target languages available with the custom terminology resource.TerminologyProperties.BuildertargetLanguageCodes(Collection<String> targetLanguageCodes)The language codes for the target languages available with the custom terminology resource.TerminologyProperties.BuildertermCount(Integer termCount)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
TerminologyProperties.Builder name(String 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
TerminologyProperties.Builder description(String 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
TerminologyProperties.Builder arn(String 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
TerminologyProperties.Builder sourceLanguageCode(String 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
TerminologyProperties.Builder targetLanguageCodes(Collection<String> 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
TerminologyProperties.Builder targetLanguageCodes(String... 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
TerminologyProperties.Builder encryptionKey(EncryptionKey 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
default TerminologyProperties.Builder encryptionKey(Consumer<EncryptionKey.Builder> encryptionKey)
The encryption key for the custom terminology.
This is a convenience method that creates an instance of theEncryptionKey.Builderavoiding the need to create one manually viaEncryptionKey.builder().When the
Consumercompletes,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:
encryptionKey(EncryptionKey)
-
sizeBytes
TerminologyProperties.Builder sizeBytes(Integer 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
TerminologyProperties.Builder termCount(Integer 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
TerminologyProperties.Builder createdAt(Instant 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
TerminologyProperties.Builder lastUpdatedAt(Instant 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
TerminologyProperties.Builder directionality(String 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,Directionality
-
directionality
TerminologyProperties.Builder directionality(Directionality 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,Directionality
-
message
TerminologyProperties.Builder message(String 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
TerminologyProperties.Builder skippedTermCount(Integer 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
TerminologyProperties.Builder format(String 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:
TerminologyDataFormat,TerminologyDataFormat
-
format
TerminologyProperties.Builder format(TerminologyDataFormat 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:
TerminologyDataFormat,TerminologyDataFormat
-
-