Class CfnTerminologyMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.translate.CfnTerminologyMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTerminologyMixinProps>
- Enclosing interface:
CfnTerminologyMixinProps
@Stability(Stable)
public static final class CfnTerminologyMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTerminologyMixinProps>
A builder for
CfnTerminologyMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnTerminologyMixinProps.getDescription()encryptionKey(CfnTerminologyPropsMixin.EncryptionKeyProperty encryptionKey) Sets the value ofCfnTerminologyMixinProps.getEncryptionKey()encryptionKey(IResolvable encryptionKey) Sets the value ofCfnTerminologyMixinProps.getEncryptionKey()mergeStrategy(String mergeStrategy) Sets the value ofCfnTerminologyMixinProps.getMergeStrategy()Sets the value ofCfnTerminologyMixinProps.getName()tags(List<? extends CfnTerminologyPropsMixin.TagsItemsProperty> tags) Sets the value ofCfnTerminologyMixinProps.getTags()terminologyData(CfnTerminologyPropsMixin.TerminologyDataProperty terminologyData) Sets the value ofCfnTerminologyMixinProps.getTerminologyData()terminologyData(IResolvable terminologyData) Sets the value ofCfnTerminologyMixinProps.getTerminologyData()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnTerminologyMixinProps.getDescription()- Parameters:
description- The description of the custom terminology.- Returns:
this
-
encryptionKey
Sets the value ofCfnTerminologyMixinProps.getEncryptionKey()- Parameters:
encryptionKey- The encryption key for the custom terminology.- Returns:
this
-
encryptionKey
@Stability(Stable) public CfnTerminologyMixinProps.Builder encryptionKey(CfnTerminologyPropsMixin.EncryptionKeyProperty encryptionKey) Sets the value ofCfnTerminologyMixinProps.getEncryptionKey()- Parameters:
encryptionKey- The encryption key for the custom terminology.- Returns:
this
-
mergeStrategy
Sets the value ofCfnTerminologyMixinProps.getMergeStrategy()- Parameters:
mergeStrategy- The merge strategy for the custom terminology. Currently only OVERWRITE is supported.- Returns:
this
-
name
Sets the value ofCfnTerminologyMixinProps.getName()- Parameters:
name- The name of the custom terminology.- Returns:
this
-
tags
@Stability(Stable) public CfnTerminologyMixinProps.Builder tags(List<? extends CfnTerminologyPropsMixin.TagsItemsProperty> tags) Sets the value ofCfnTerminologyMixinProps.getTags()- Parameters:
tags- Tags associated with the terminology.- Returns:
this
-
terminologyData
@Stability(Stable) public CfnTerminologyMixinProps.Builder terminologyData(IResolvable terminologyData) Sets the value ofCfnTerminologyMixinProps.getTerminologyData()- Parameters:
terminologyData- The terminology data for the custom terminology being imported.- Returns:
this
-
terminologyData
@Stability(Stable) public CfnTerminologyMixinProps.Builder terminologyData(CfnTerminologyPropsMixin.TerminologyDataProperty terminologyData) Sets the value ofCfnTerminologyMixinProps.getTerminologyData()- Parameters:
terminologyData- The terminology data for the custom terminology being imported.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTerminologyMixinProps>- Returns:
- a new instance of
CfnTerminologyMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-