Interface ImportTerminologyRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ImportTerminologyRequest.Builder,,ImportTerminologyRequest> SdkBuilder<ImportTerminologyRequest.Builder,,ImportTerminologyRequest> SdkPojo,SdkRequest.Builder,TranslateRequest.Builder
- Enclosing class:
ImportTerminologyRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description of the custom terminology being imported.default ImportTerminologyRequest.BuilderencryptionKey(Consumer<EncryptionKey.Builder> encryptionKey) The encryption key for the custom terminology being imported.encryptionKey(EncryptionKey encryptionKey) The encryption key for the custom terminology being imported.mergeStrategy(String mergeStrategy) The merge strategy of the custom terminology being imported.mergeStrategy(MergeStrategy mergeStrategy) The merge strategy of the custom terminology being imported.The name of the custom terminology being imported.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) Tags to be associated with this resource.tags(Consumer<Tag.Builder>... tags) Tags to be associated with this resource.Tags to be associated with this resource.default ImportTerminologyRequest.BuilderterminologyData(Consumer<TerminologyData.Builder> terminologyData) The terminology data for the custom terminology being imported.terminologyData(TerminologyData terminologyData) The terminology data for the custom terminology being imported.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.translate.model.TranslateRequest.Builder
build
-
Method Details
-
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
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
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:
-
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
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.Builderavoiding the need to create one manually viaTerminologyData.builder().When the
Consumercompletes,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:
-
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.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:
-
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
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
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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- 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:
-
overrideConfiguration
ImportTerminologyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ImportTerminologyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-