Class CfnEventBus.EncryptionConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eventsv2.CfnEventBus.EncryptionConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventBus.EncryptionConfigurationProperty>
- Enclosing interface:
CfnEventBus.EncryptionConfigurationProperty
@Stability(Stable)
public static final class CfnEventBus.EncryptionConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventBus.EncryptionConfigurationProperty>
A builder for
CfnEventBus.EncryptionConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.kmsKeyIdentifier(String kmsKeyIdentifier) Sets the value ofCfnEventBus.EncryptionConfigurationProperty.getKmsKeyIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
kmsKeyIdentifier
@Stability(Stable) public CfnEventBus.EncryptionConfigurationProperty.Builder kmsKeyIdentifier(String kmsKeyIdentifier) Sets the value ofCfnEventBus.EncryptionConfigurationProperty.getKmsKeyIdentifier()- 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<CfnEventBus.EncryptionConfigurationProperty>- Returns:
- a new instance of
CfnEventBus.EncryptionConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-