Class KeyEvents.KMSCMKRotation.KMSCMKRotationProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.kms.events.KeyEvents.KMSCMKRotation.KMSCMKRotationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<KeyEvents.KMSCMKRotation.KMSCMKRotationProps>
- Enclosing interface:
KeyEvents.KMSCMKRotation.KMSCMKRotationProps
@Stability(Experimental)
public static final class KeyEvents.KMSCMKRotation.KMSCMKRotationProps.Builder
extends Object
implements software.amazon.jsii.Builder<KeyEvents.KMSCMKRotation.KMSCMKRotationProps>
A builder for
KeyEvents.KMSCMKRotation.KMSCMKRotationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofKeyEvents.KMSCMKRotation.KMSCMKRotationProps.getEventMetadata()Sets the value ofKeyEvents.KMSCMKRotation.KMSCMKRotationProps.getKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventMetadata
@Stability(Experimental) public KeyEvents.KMSCMKRotation.KMSCMKRotationProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofKeyEvents.KMSCMKRotation.KMSCMKRotationProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
keyId
@Stability(Experimental) public KeyEvents.KMSCMKRotation.KMSCMKRotationProps.Builder keyId(List<String> keyId) Sets the value ofKeyEvents.KMSCMKRotation.KMSCMKRotationProps.getKeyId()- Parameters:
keyId- key-id property. Specify an array of string values to match this event if the actual value of key-id is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KeyEvents.KMSCMKRotation.KMSCMKRotationProps>- Returns:
- a new instance of
KeyEvents.KMSCMKRotation.KMSCMKRotationProps - Throws:
NullPointerException- if any required attribute was not provided
-