Class LimitBreach.LimitBreachProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.ivs.events.LimitBreach.LimitBreachProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<LimitBreach.LimitBreachProps>
- Enclosing interface:
LimitBreach.LimitBreachProps
@Stability(Experimental)
public static final class LimitBreach.LimitBreachProps.Builder
extends Object
implements software.amazon.jsii.Builder<LimitBreach.LimitBreachProps>
A builder for
LimitBreach.LimitBreachProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofLimitBreach.LimitBreachProps.getEventMetadata()exceededBy(List<String> exceededBy) Sets the value ofLimitBreach.LimitBreachProps.getExceededBy()Sets the value ofLimitBreach.LimitBreachProps.getLimit()Sets the value ofLimitBreach.LimitBreachProps.getLimitUnit()limitValue(List<String> limitValue) Sets the value ofLimitBreach.LimitBreachProps.getLimitValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventMetadata
@Stability(Experimental) public LimitBreach.LimitBreachProps.Builder eventMetadata(AWSEventMetadataProps eventMetadata) Sets the value ofLimitBreach.LimitBreachProps.getEventMetadata()- Parameters:
eventMetadata- EventBridge event metadata.- Returns:
this
-
exceededBy
@Stability(Experimental) public LimitBreach.LimitBreachProps.Builder exceededBy(List<String> exceededBy) Sets the value ofLimitBreach.LimitBreachProps.getExceededBy()- Parameters:
exceededBy- exceeded_by property. Specify an array of string values to match this event if the actual value of exceeded_by is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
limit
Sets the value ofLimitBreach.LimitBreachProps.getLimit()- Parameters:
limit- limit property. Specify an array of string values to match this event if the actual value of limit is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
limitUnit
@Stability(Experimental) public LimitBreach.LimitBreachProps.Builder limitUnit(List<String> limitUnit) Sets the value ofLimitBreach.LimitBreachProps.getLimitUnit()- Parameters:
limitUnit- limit_unit property. Specify an array of string values to match this event if the actual value of limit_unit is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
limitValue
@Stability(Experimental) public LimitBreach.LimitBreachProps.Builder limitValue(List<String> limitValue) Sets the value ofLimitBreach.LimitBreachProps.getLimitValue()- Parameters:
limitValue- limit_value property. Specify an array of string values to match this event if the actual value of limit_value 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<LimitBreach.LimitBreachProps>- Returns:
- a new instance of
LimitBreach.LimitBreachProps - Throws:
NullPointerException- if any required attribute was not provided
-