Class CfnEventTriggerPropsMixin.PeriodProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.customerprofiles.CfnEventTriggerPropsMixin.PeriodProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventTriggerPropsMixin.PeriodProperty>
- Enclosing interface:
CfnEventTriggerPropsMixin.PeriodProperty
@Stability(Stable)
public static final class CfnEventTriggerPropsMixin.PeriodProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventTriggerPropsMixin.PeriodProperty>
A builder for
CfnEventTriggerPropsMixin.PeriodProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maxInvocationsPerProfile(Number maxInvocationsPerProfile) Sets the value ofCfnEventTriggerPropsMixin.PeriodProperty.getMaxInvocationsPerProfile()Sets the value ofCfnEventTriggerPropsMixin.PeriodProperty.getUnit()Sets the value ofCfnEventTriggerPropsMixin.PeriodProperty.getUnlimited()unlimited(IResolvable unlimited) Sets the value ofCfnEventTriggerPropsMixin.PeriodProperty.getUnlimited()Sets the value ofCfnEventTriggerPropsMixin.PeriodProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxInvocationsPerProfile
@Stability(Stable) public CfnEventTriggerPropsMixin.PeriodProperty.Builder maxInvocationsPerProfile(Number maxInvocationsPerProfile) Sets the value ofCfnEventTriggerPropsMixin.PeriodProperty.getMaxInvocationsPerProfile()- Parameters:
maxInvocationsPerProfile- The maximum allowed number of destination invocations per profile.- Returns:
this
-
unit
Sets the value ofCfnEventTriggerPropsMixin.PeriodProperty.getUnit()- Parameters:
unit- The unit of time.- Returns:
this
-
unlimited
@Stability(Stable) public CfnEventTriggerPropsMixin.PeriodProperty.Builder unlimited(Boolean unlimited) Sets the value ofCfnEventTriggerPropsMixin.PeriodProperty.getUnlimited()- Parameters:
unlimited- If set to true, there is no limit on the number of destination invocations per profile. The default is false.- Returns:
this
-
unlimited
@Stability(Stable) public CfnEventTriggerPropsMixin.PeriodProperty.Builder unlimited(IResolvable unlimited) Sets the value ofCfnEventTriggerPropsMixin.PeriodProperty.getUnlimited()- Parameters:
unlimited- If set to true, there is no limit on the number of destination invocations per profile. The default is false.- Returns:
this
-
value
Sets the value ofCfnEventTriggerPropsMixin.PeriodProperty.getValue()- Parameters:
value- The amount of time of the specified unit.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventTriggerPropsMixin.PeriodProperty>- Returns:
- a new instance of
CfnEventTriggerPropsMixin.PeriodProperty - Throws:
NullPointerException- if any required attribute was not provided
-