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