public static interface ImportTerminologyRequest.Builder extends TranslateRequest.Builder, SdkPojo, CopyableBuilder<ImportTerminologyRequest.Builder,ImportTerminologyRequest>
Modifier and Type | Method and Description |
---|---|
ImportTerminologyRequest.Builder |
description(String description)
The description of the custom terminology being imported.
|
default ImportTerminologyRequest.Builder |
encryptionKey(Consumer<EncryptionKey.Builder> encryptionKey)
The encryption key for the custom terminology being imported.
|
ImportTerminologyRequest.Builder |
encryptionKey(EncryptionKey encryptionKey)
The encryption key for the custom terminology being imported.
|
ImportTerminologyRequest.Builder |
mergeStrategy(MergeStrategy mergeStrategy)
The merge strategy of the custom terminology being imported.
|
ImportTerminologyRequest.Builder |
mergeStrategy(String mergeStrategy)
The merge strategy of the custom terminology being imported.
|
ImportTerminologyRequest.Builder |
name(String name)
The name of the custom terminology being imported.
|
ImportTerminologyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ImportTerminologyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default ImportTerminologyRequest.Builder |
terminologyData(Consumer<TerminologyData.Builder> terminologyData)
The terminology data for the custom terminology being imported.
|
ImportTerminologyRequest.Builder |
terminologyData(TerminologyData terminologyData)
The terminology data for the custom terminology being imported.
|
build
overrideConfiguration
copy
applyMutation, build
ImportTerminologyRequest.Builder name(String name)
The name of the custom terminology being imported.
name
- The name of the custom terminology being imported.ImportTerminologyRequest.Builder mergeStrategy(String mergeStrategy)
The merge strategy of the custom terminology being imported. Currently, only the OVERWRITE merge strategy is supported. In this case, the imported terminology will overwrite an existing terminology of the same name.
mergeStrategy
- The merge strategy of the custom terminology being imported. Currently, only the OVERWRITE merge
strategy is supported. In this case, the imported terminology will overwrite an existing terminology
of the same name.MergeStrategy
,
MergeStrategy
ImportTerminologyRequest.Builder mergeStrategy(MergeStrategy mergeStrategy)
The merge strategy of the custom terminology being imported. Currently, only the OVERWRITE merge strategy is supported. In this case, the imported terminology will overwrite an existing terminology of the same name.
mergeStrategy
- The merge strategy of the custom terminology being imported. Currently, only the OVERWRITE merge
strategy is supported. In this case, the imported terminology will overwrite an existing terminology
of the same name.MergeStrategy
,
MergeStrategy
ImportTerminologyRequest.Builder description(String description)
The description of the custom terminology being imported.
description
- The description of the custom terminology being imported.ImportTerminologyRequest.Builder terminologyData(TerminologyData terminologyData)
The terminology data for the custom terminology being imported.
terminologyData
- The terminology data for the custom terminology being imported.default ImportTerminologyRequest.Builder terminologyData(Consumer<TerminologyData.Builder> terminologyData)
The terminology data for the custom terminology being imported.
This is a convenience that creates an instance of theTerminologyData.Builder
avoiding the need to
create one manually via TerminologyData.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to terminologyData(TerminologyData)
.terminologyData
- a consumer that will call methods on TerminologyData.Builder
terminologyData(TerminologyData)
ImportTerminologyRequest.Builder encryptionKey(EncryptionKey encryptionKey)
The encryption key for the custom terminology being imported.
encryptionKey
- The encryption key for the custom terminology being imported.default ImportTerminologyRequest.Builder encryptionKey(Consumer<EncryptionKey.Builder> encryptionKey)
The encryption key for the custom terminology being imported.
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)
ImportTerminologyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ImportTerminologyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.