Class RDSDBSnapshotEvent.RDSDBSnapshotEventProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.rds.events.RDSDBSnapshotEvent.RDSDBSnapshotEventProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RDSDBSnapshotEvent.RDSDBSnapshotEventProps>
- Enclosing interface:
RDSDBSnapshotEvent.RDSDBSnapshotEventProps
@Stability(Experimental)
public static final class RDSDBSnapshotEvent.RDSDBSnapshotEventProps.Builder
extends Object
implements software.amazon.jsii.Builder<RDSDBSnapshotEvent.RDSDBSnapshotEventProps>
A builder for
RDSDBSnapshotEvent.RDSDBSnapshotEventProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofRDSDBSnapshotEvent.RDSDBSnapshotEventProps.getDate()eventCategories(List<String> eventCategories) Sets the value ofRDSDBSnapshotEvent.RDSDBSnapshotEventProps.getEventCategories()eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofRDSDBSnapshotEvent.RDSDBSnapshotEventProps.getEventMetadata()Sets the value ofRDSDBSnapshotEvent.RDSDBSnapshotEventProps.getMessage()Sets the value ofRDSDBSnapshotEvent.RDSDBSnapshotEventProps.getSourceArn()sourceIdentifier(List<String> sourceIdentifier) Sets the value ofRDSDBSnapshotEvent.RDSDBSnapshotEventProps.getSourceIdentifier()sourceType(List<String> sourceType) Sets the value ofRDSDBSnapshotEvent.RDSDBSnapshotEventProps.getSourceType()Sets the value ofRDSDBSnapshotEvent.RDSDBSnapshotEventProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
date
@Stability(Experimental) public RDSDBSnapshotEvent.RDSDBSnapshotEventProps.Builder date(List<String> date) Sets the value ofRDSDBSnapshotEvent.RDSDBSnapshotEventProps.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 RDSDBSnapshotEvent.RDSDBSnapshotEventProps.Builder eventCategories(List<String> eventCategories) Sets the value ofRDSDBSnapshotEvent.RDSDBSnapshotEventProps.getEventCategories()- 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 RDSDBSnapshotEvent.RDSDBSnapshotEventProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofRDSDBSnapshotEvent.RDSDBSnapshotEventProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
message
@Stability(Experimental) public RDSDBSnapshotEvent.RDSDBSnapshotEventProps.Builder message(List<String> message) Sets the value ofRDSDBSnapshotEvent.RDSDBSnapshotEventProps.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 RDSDBSnapshotEvent.RDSDBSnapshotEventProps.Builder sourceArn(List<String> sourceArn) Sets the value ofRDSDBSnapshotEvent.RDSDBSnapshotEventProps.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 RDSDBSnapshotEvent.RDSDBSnapshotEventProps.Builder sourceIdentifier(List<String> sourceIdentifier) Sets the value ofRDSDBSnapshotEvent.RDSDBSnapshotEventProps.getSourceIdentifier()- 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 RDSDBSnapshotEvent.RDSDBSnapshotEventProps.Builder sourceType(List<String> sourceType) Sets the value ofRDSDBSnapshotEvent.RDSDBSnapshotEventProps.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 RDSDBSnapshotEvent.RDSDBSnapshotEventProps.Builder tags(Map<String, String> tags) Sets the value ofRDSDBSnapshotEvent.RDSDBSnapshotEventProps.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<RDSDBSnapshotEvent.RDSDBSnapshotEventProps>- Returns:
- a new instance of
RDSDBSnapshotEvent.RDSDBSnapshotEventProps - Throws:
NullPointerException- if any required attribute was not provided
-