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