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