Class CfnServicePropsMixin.EncryptionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apprunner.CfnServicePropsMixin.EncryptionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin.EncryptionConfigurationProperty>
- Enclosing interface:
CfnServicePropsMixin.EncryptionConfigurationProperty
@Stability(Stable)
public static final class CfnServicePropsMixin.EncryptionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin.EncryptionConfigurationProperty>
A builder for
CfnServicePropsMixin.EncryptionConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnServicePropsMixin.EncryptionConfigurationProperty.getKmsKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKey
@Stability(Stable) public CfnServicePropsMixin.EncryptionConfigurationProperty.Builder kmsKey(String kmsKey) Sets the value ofCfnServicePropsMixin.EncryptionConfigurationProperty.getKmsKey()- Parameters:
kmsKey- The ARN of the KMS key that's used for encryption.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin.EncryptionConfigurationProperty>- Returns:
- a new instance of
CfnServicePropsMixin.EncryptionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-