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