Class SnapshotExportFailed.SnapshotExportFailedProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.elasticache.events.SnapshotExportFailed.SnapshotExportFailedProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SnapshotExportFailed.SnapshotExportFailedProps>
- Enclosing interface:
SnapshotExportFailed.SnapshotExportFailedProps
@Stability(Experimental)
public static final class SnapshotExportFailed.SnapshotExportFailedProps.Builder
extends Object
implements software.amazon.jsii.Builder<SnapshotExportFailed.SnapshotExportFailedProps>
A builder for
SnapshotExportFailed.SnapshotExportFailedProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventCategories(List<String> eventCategories) Sets the value ofSnapshotExportFailed.SnapshotExportFailedProps.getEventCategories()Sets the value ofSnapshotExportFailed.SnapshotExportFailedProps.getEventId()eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofSnapshotExportFailed.SnapshotExportFailedProps.getEventMetadata()Sets the value ofSnapshotExportFailed.SnapshotExportFailedProps.getMessage()Sets the value ofSnapshotExportFailed.SnapshotExportFailedProps.getSourceArn()sourceIdentifier(List<String> sourceIdentifier) Sets the value ofSnapshotExportFailed.SnapshotExportFailedProps.getSourceIdentifier()sourceType(List<String> sourceType) Sets the value ofSnapshotExportFailed.SnapshotExportFailedProps.getSourceType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventCategories
@Stability(Experimental) public SnapshotExportFailed.SnapshotExportFailedProps.Builder eventCategories(List<String> eventCategories) Sets the value ofSnapshotExportFailed.SnapshotExportFailedProps.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
-
eventId
@Stability(Experimental) public SnapshotExportFailed.SnapshotExportFailedProps.Builder eventId(List<String> eventId) Sets the value ofSnapshotExportFailed.SnapshotExportFailedProps.getEventId()- Parameters:
eventId- EventID property. Specify an array of string values to match this event if the actual value of EventID 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 SnapshotExportFailed.SnapshotExportFailedProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofSnapshotExportFailed.SnapshotExportFailedProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
message
@Stability(Experimental) public SnapshotExportFailed.SnapshotExportFailedProps.Builder message(List<String> message) Sets the value ofSnapshotExportFailed.SnapshotExportFailedProps.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 SnapshotExportFailed.SnapshotExportFailedProps.Builder sourceArn(List<String> sourceArn) Sets the value ofSnapshotExportFailed.SnapshotExportFailedProps.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 SnapshotExportFailed.SnapshotExportFailedProps.Builder sourceIdentifier(List<String> sourceIdentifier) Sets the value ofSnapshotExportFailed.SnapshotExportFailedProps.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 SnapshotExportFailed.SnapshotExportFailedProps.Builder sourceType(List<String> sourceType) Sets the value ofSnapshotExportFailed.SnapshotExportFailedProps.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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SnapshotExportFailed.SnapshotExportFailedProps>- Returns:
- a new instance of
SnapshotExportFailed.SnapshotExportFailedProps - Throws:
NullPointerException- if any required attribute was not provided
-