Interface ImportTerminologyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ImportTerminologyRequest.Builder,ImportTerminologyRequest>
,SdkBuilder<ImportTerminologyRequest.Builder,ImportTerminologyRequest>
,SdkPojo
,SdkRequest.Builder
,TranslateRequest.Builder
- Enclosing class:
- ImportTerminologyRequest
public static interface ImportTerminologyRequest.Builder extends TranslateRequest.Builder, SdkPojo, CopyableBuilder<ImportTerminologyRequest.Builder,ImportTerminologyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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(String mergeStrategy)
The merge strategy of the custom terminology being imported.ImportTerminologyRequest.Builder
mergeStrategy(MergeStrategy 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(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ImportTerminologyRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
ImportTerminologyRequest.Builder
tags(Collection<Tag> tags)
Tags to be associated with this resource.ImportTerminologyRequest.Builder
tags(Consumer<Tag.Builder>... tags)
Tags to be associated with this resource.ImportTerminologyRequest.Builder
tags(Tag... tags)
Tags to be associated with this resource.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.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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
-
Methods inherited from interface software.amazon.awssdk.services.translate.model.TranslateRequest.Builder
build
-
-
-
-
Method Detail
-
name
ImportTerminologyRequest.Builder name(String name)
The name of the custom terminology being imported.
- Parameters:
name
- The name of the custom terminology being imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mergeStrategy
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MergeStrategy
,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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MergeStrategy
,MergeStrategy
-
description
ImportTerminologyRequest.Builder description(String description)
The description of the custom terminology being imported.
- Parameters:
description
- The description of the custom terminology being imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terminologyData
ImportTerminologyRequest.Builder terminologyData(TerminologyData terminologyData)
The terminology data for the custom terminology being imported.
- Parameters:
terminologyData
- The terminology data for the custom terminology being imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
terminologyData
default ImportTerminologyRequest.Builder terminologyData(Consumer<TerminologyData.Builder> terminologyData)
The terminology data for the custom terminology being imported.
This is a convenience method that creates an instance of theTerminologyData.Builder
avoiding the need to create one manually viaTerminologyData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toterminologyData(TerminologyData)
.- Parameters:
terminologyData
- a consumer that will call methods onTerminologyData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
terminologyData(TerminologyData)
-
encryptionKey
ImportTerminologyRequest.Builder encryptionKey(EncryptionKey encryptionKey)
The encryption key for the custom terminology being imported.
- Parameters:
encryptionKey
- The encryption key for the custom terminology being imported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKey
default ImportTerminologyRequest.Builder encryptionKey(Consumer<EncryptionKey.Builder> encryptionKey)
The encryption key for the custom terminology being imported.
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:
encryptionKey(EncryptionKey)
-
tags
ImportTerminologyRequest.Builder tags(Collection<Tag> tags)
Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources.
- Parameters:
tags
- Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ImportTerminologyRequest.Builder tags(Tag... tags)
Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources.
- Parameters:
tags
- Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ImportTerminologyRequest.Builder tags(Consumer<Tag.Builder>... tags)
Tags to be associated with this resource. A tag is a key-value pair that adds metadata to a resource. Each tag key for the resource must be unique. For more information, see Tagging your resources.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection
)
-
overrideConfiguration
ImportTerminologyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ImportTerminologyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-