Class RDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.rds.events.RDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps>
- Enclosing interface:
RDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps
@Stability(Experimental)
public static final class RDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps.Builder
extends Object
implements software.amazon.jsii.Builder<RDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps>
A builder for
RDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofRDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps.getDate()eventCategories(List<String> eventCategories) eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofRDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps.getMessage()Sets the value ofRDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps.getSourceArn()sourceIdentifier(List<String> sourceIdentifier) sourceType(List<String> sourceType) Sets the value ofRDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps.getSourceType()Sets the value ofRDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
date
@Stability(Experimental) public RDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps.Builder date(List<String> date) Sets the value ofRDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps.getDate()- Parameters:
date- Date property. Specify an array of string values to match this event if the actual value of Date is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventCategories
@Stability(Experimental) public RDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps.Builder eventCategories(List<String> eventCategories) - Parameters:
eventCategories- EventCategories property. Specify an array of string values to match this event if the actual value of EventCategories is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
eventMetadata
@Stability(Experimental) public RDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) - Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
message
@Stability(Experimental) public RDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps.Builder message(List<String> message) Sets the value ofRDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps.getMessage()- Parameters:
message- Message property. Specify an array of string values to match this event if the actual value of Message is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sourceArn
@Stability(Experimental) public RDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps.Builder sourceArn(List<String> sourceArn) Sets the value ofRDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps.getSourceArn()- Parameters:
sourceArn- SourceArn property. Specify an array of string values to match this event if the actual value of SourceArn is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sourceIdentifier
@Stability(Experimental) public RDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps.Builder sourceIdentifier(List<String> sourceIdentifier) - Parameters:
sourceIdentifier- SourceIdentifier property. Specify an array of string values to match this event if the actual value of SourceIdentifier is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
sourceType
@Stability(Experimental) public RDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps.Builder sourceType(List<String> sourceType) Sets the value ofRDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps.getSourceType()- Parameters:
sourceType- SourceType property. Specify an array of string values to match this event if the actual value of SourceType is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
tags
@Stability(Experimental) public RDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps.Builder tags(Map<String, String> tags) Sets the value ofRDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps.getTags()- Parameters:
tags- Tags property. Specify an array of string values to match this event if the actual value of Tags 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<RDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps>- Returns:
- a new instance of
RDSDBClusterSnapshotEvent.RDSDBClusterSnapshotEventProps - Throws:
NullPointerException- if any required attribute was not provided
-