Class CfnEventBusPropsMixin.EncryptionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.eventsv2.CfnEventBusPropsMixin.EncryptionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventBusPropsMixin.EncryptionConfigurationProperty>
- Enclosing interface:
CfnEventBusPropsMixin.EncryptionConfigurationProperty
@Stability(Stable)
public static final class CfnEventBusPropsMixin.EncryptionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventBusPropsMixin.EncryptionConfigurationProperty>
A builder for
CfnEventBusPropsMixin.EncryptionConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.kmsKeyIdentifier(String kmsKeyIdentifier)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeyIdentifier
@Stability(Stable) public CfnEventBusPropsMixin.EncryptionConfigurationProperty.Builder kmsKeyIdentifier(String kmsKeyIdentifier) - Parameters:
kmsKeyIdentifier- The identifier of the AWS KMS customer managed key that the event bus uses to encrypt events. You can specify the key ARN, key ID, alias name, or alias ARN. If you do not specify a key, EventBridge uses an AWS owned key.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventBusPropsMixin.EncryptionConfigurationProperty>- Returns:
- a new instance of
CfnEventBusPropsMixin.EncryptionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-