Class CfnEncryptionConfigurationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnEncryptionConfigurationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEncryptionConfigurationMixinProps>
- Enclosing interface:
CfnEncryptionConfigurationMixinProps
@Stability(Stable)
public static final class CfnEncryptionConfigurationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEncryptionConfigurationMixinProps>
A builder for
CfnEncryptionConfigurationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.encryptionType(String encryptionType) Sets the value ofCfnEncryptionConfigurationMixinProps.getEncryptionType()kmsAccessRoleArn(String kmsAccessRoleArn) Sets the value ofCfnEncryptionConfigurationMixinProps.getKmsAccessRoleArn()Sets the value ofCfnEncryptionConfigurationMixinProps.getKmsKeyArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encryptionType
@Stability(Stable) public CfnEncryptionConfigurationMixinProps.Builder encryptionType(String encryptionType) Sets the value ofCfnEncryptionConfigurationMixinProps.getEncryptionType()- Parameters:
encryptionType- The type of the KMS key.- Returns:
this
-
kmsAccessRoleArn
@Stability(Stable) public CfnEncryptionConfigurationMixinProps.Builder kmsAccessRoleArn(String kmsAccessRoleArn) Sets the value ofCfnEncryptionConfigurationMixinProps.getKmsAccessRoleArn()- Parameters:
kmsAccessRoleArn- The Amazon Resource Name (ARN) of the IAM role assumed by AWS IoT Core to call AWS on behalf of the customer.- Returns:
this
-
kmsKeyArn
Sets the value ofCfnEncryptionConfigurationMixinProps.getKmsKeyArn()- Parameters:
kmsKeyArn- The ARN of the customer managed KMS key.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEncryptionConfigurationMixinProps>- Returns:
- a new instance of
CfnEncryptionConfigurationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-