Class CfnEncryptionConfigurationProps.Builder
java.lang.Object
software.amazon.awscdk.services.iot.CfnEncryptionConfigurationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEncryptionConfigurationProps>
- Enclosing interface:
CfnEncryptionConfigurationProps
@Stability(Stable)
public static final class CfnEncryptionConfigurationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEncryptionConfigurationProps>
A builder for
CfnEncryptionConfigurationProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.encryptionType
(String encryptionType) Sets the value ofCfnEncryptionConfigurationProps.getEncryptionType()
kmsAccessRoleArn
(String kmsAccessRoleArn) Sets the value ofCfnEncryptionConfigurationProps.getKmsAccessRoleArn()
Sets the value ofCfnEncryptionConfigurationProps.getKmsKeyArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encryptionType
@Stability(Stable) public CfnEncryptionConfigurationProps.Builder encryptionType(String encryptionType) Sets the value ofCfnEncryptionConfigurationProps.getEncryptionType()
- Parameters:
encryptionType
- the value to be set. This parameter is required.- Returns:
this
-
kmsAccessRoleArn
@Stability(Stable) public CfnEncryptionConfigurationProps.Builder kmsAccessRoleArn(String kmsAccessRoleArn) Sets the value ofCfnEncryptionConfigurationProps.getKmsAccessRoleArn()
- Parameters:
kmsAccessRoleArn
- the value to be set.- Returns:
this
-
kmsKeyArn
Sets the value ofCfnEncryptionConfigurationProps.getKmsKeyArn()
- Parameters:
kmsKeyArn
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnEncryptionConfigurationProps>
- Returns:
- a new instance of
CfnEncryptionConfigurationProps
- Throws:
NullPointerException
- if any required attribute was not provided
-