Class CfnTerminology.Builder
java.lang.Object
software.amazon.awscdk.services.translate.CfnTerminology.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTerminology>
- Enclosing class:
CfnTerminology
@Stability(Stable)
public static final class CfnTerminology.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTerminology>
A fluent builder for
CfnTerminology.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnTerminology.Builderdescription(String description) The description of the custom terminology.encryptionKey(IResolvable encryptionKey) The encryption key for the custom terminology.encryptionKey(CfnTerminology.EncryptionKeyProperty encryptionKey) The encryption key for the custom terminology.mergeStrategy(String mergeStrategy) The merge strategy for the custom terminology.The name of the custom terminology.tags(List<? extends CfnTerminology.TagsItemsProperty> tags) Tags associated with the terminology.terminologyData(IResolvable terminologyData) The terminology data for the custom terminology being imported.terminologyData(CfnTerminology.TerminologyDataProperty terminologyData) The terminology data for the custom terminology being imported.
-
Method Details
-
create
@Stability(Stable) public static CfnTerminology.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnTerminology.Builder.
-
name
The name of the custom terminology.- Parameters:
name- The name of the custom terminology. This parameter is required.- Returns:
this- See Also:
-
description
The description of the custom terminology.- Parameters:
description- The description of the custom terminology. This parameter is required.- Returns:
this- See Also:
-
encryptionKey
The encryption key for the custom terminology.- Parameters:
encryptionKey- The encryption key for the custom terminology. This parameter is required.- Returns:
this- See Also:
-
encryptionKey
@Stability(Stable) public CfnTerminology.Builder encryptionKey(CfnTerminology.EncryptionKeyProperty encryptionKey) The encryption key for the custom terminology.- Parameters:
encryptionKey- The encryption key for the custom terminology. This parameter is required.- Returns:
this- See Also:
-
mergeStrategy
The merge strategy for the custom terminology.Currently only OVERWRITE is supported.
- Parameters:
mergeStrategy- The merge strategy for the custom terminology. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnTerminology.Builder tags(List<? extends CfnTerminology.TagsItemsProperty> tags) Tags associated with the terminology.- Parameters:
tags- Tags associated with the terminology. This parameter is required.- Returns:
this- See Also:
-
terminologyData
The terminology data for the custom terminology being imported.- Parameters:
terminologyData- The terminology data for the custom terminology being imported. This parameter is required.- Returns:
this- See Also:
-
terminologyData
@Stability(Stable) public CfnTerminology.Builder terminologyData(CfnTerminology.TerminologyDataProperty terminologyData) The terminology data for the custom terminology being imported.- Parameters:
terminologyData- The terminology data for the custom terminology being imported. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTerminology>- Returns:
- a newly built instance of
CfnTerminology.
-