public static interface TerminologyProperties.Builder extends SdkPojo, CopyableBuilder<TerminologyProperties.Builder,TerminologyProperties>
Modifier and Type | Method and Description |
---|---|
TerminologyProperties.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the custom terminology.
|
TerminologyProperties.Builder |
createdAt(Instant createdAt)
The time at which the custom terminology was created, based on the timestamp.
|
TerminologyProperties.Builder |
description(String description)
The description of the custom terminology properties.
|
default TerminologyProperties.Builder |
encryptionKey(Consumer<EncryptionKey.Builder> encryptionKey)
The encryption key for the custom terminology.
|
TerminologyProperties.Builder |
encryptionKey(EncryptionKey encryptionKey)
The encryption key for the custom terminology.
|
TerminologyProperties.Builder |
lastUpdatedAt(Instant lastUpdatedAt)
The time at which the custom terminology was last update, based on the timestamp.
|
TerminologyProperties.Builder |
name(String name)
The name of the custom terminology.
|
TerminologyProperties.Builder |
sizeBytes(Integer sizeBytes)
The size of the file used when importing a custom terminology.
|
TerminologyProperties.Builder |
sourceLanguageCode(String sourceLanguageCode)
The language code for the source text of the translation request for which the custom terminology is being
used.
|
TerminologyProperties.Builder |
targetLanguageCodes(Collection<String> targetLanguageCodes)
The language codes for the target languages available with the custom terminology file.
|
TerminologyProperties.Builder |
targetLanguageCodes(String... targetLanguageCodes)
The language codes for the target languages available with the custom terminology file.
|
TerminologyProperties.Builder |
termCount(Integer termCount)
The number of terms included in the custom terminology.
|
copy
applyMutation, build
TerminologyProperties.Builder name(String name)
The name of the custom terminology.
name
- The name of the custom terminology.TerminologyProperties.Builder description(String description)
The description of the custom terminology properties.
description
- The description of the custom terminology properties.TerminologyProperties.Builder arn(String arn)
The Amazon Resource Name (ARN) of the custom terminology.
arn
- The Amazon Resource Name (ARN) of the custom terminology.TerminologyProperties.Builder sourceLanguageCode(String sourceLanguageCode)
The language code for the source text of the translation request for which the custom terminology is being used.
sourceLanguageCode
- The language code for the source text of the translation request for which the custom terminology is
being used.TerminologyProperties.Builder targetLanguageCodes(Collection<String> targetLanguageCodes)
The language codes for the target languages available with the custom terminology file. All possible target languages are returned in array.
targetLanguageCodes
- The language codes for the target languages available with the custom terminology file. All possible
target languages are returned in array.TerminologyProperties.Builder targetLanguageCodes(String... targetLanguageCodes)
The language codes for the target languages available with the custom terminology file. All possible target languages are returned in array.
targetLanguageCodes
- The language codes for the target languages available with the custom terminology file. All possible
target languages are returned in array.TerminologyProperties.Builder encryptionKey(EncryptionKey encryptionKey)
The encryption key for the custom terminology.
encryptionKey
- The encryption key for the custom terminology.default TerminologyProperties.Builder encryptionKey(Consumer<EncryptionKey.Builder> encryptionKey)
The encryption key for the custom terminology.
This is a convenience that creates an instance of theEncryptionKey.Builder
avoiding the need to
create one manually via EncryptionKey.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to encryptionKey(EncryptionKey)
.encryptionKey
- a consumer that will call methods on EncryptionKey.Builder
encryptionKey(EncryptionKey)
TerminologyProperties.Builder sizeBytes(Integer sizeBytes)
The size of the file used when importing a custom terminology.
sizeBytes
- The size of the file used when importing a custom terminology.TerminologyProperties.Builder termCount(Integer termCount)
The number of terms included in the custom terminology.
termCount
- The number of terms included in the custom terminology.TerminologyProperties.Builder createdAt(Instant createdAt)
The time at which the custom terminology was created, based on the timestamp.
createdAt
- The time at which the custom terminology was created, based on the timestamp.TerminologyProperties.Builder lastUpdatedAt(Instant lastUpdatedAt)
The time at which the custom terminology was last update, based on the timestamp.
lastUpdatedAt
- The time at which the custom terminology was last update, based on the timestamp.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.