Class CfnTerminologyPropsMixin.EncryptionKeyProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.translate.CfnTerminologyPropsMixin.EncryptionKeyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTerminologyPropsMixin.EncryptionKeyProperty>
- Enclosing interface:
CfnTerminologyPropsMixin.EncryptionKeyProperty
@Stability(Stable)
public static final class CfnTerminologyPropsMixin.EncryptionKeyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTerminologyPropsMixin.EncryptionKeyProperty>
A builder for
CfnTerminologyPropsMixin.EncryptionKeyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTerminologyPropsMixin.EncryptionKeyProperty.getId()Sets the value ofCfnTerminologyPropsMixin.EncryptionKeyProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Sets the value ofCfnTerminologyPropsMixin.EncryptionKeyProperty.getId()- Parameters:
id- The Amazon Resource Name (ARN) of the encryption key.- Returns:
this
-
type
Sets the value ofCfnTerminologyPropsMixin.EncryptionKeyProperty.getType()- Parameters:
type- The type of encryption key.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTerminologyPropsMixin.EncryptionKeyProperty>- Returns:
- a new instance of
CfnTerminologyPropsMixin.EncryptionKeyProperty - Throws:
NullPointerException- if any required attribute was not provided
-