Interface EventTriggerLimits.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EventTriggerLimits.Builder,,EventTriggerLimits> SdkBuilder<EventTriggerLimits.Builder,,EventTriggerLimits> SdkPojo
- Enclosing class:
EventTriggerLimits
public static interface EventTriggerLimits.Builder
extends SdkPojo, CopyableBuilder<EventTriggerLimits.Builder,EventTriggerLimits>
-
Method Summary
Modifier and TypeMethodDescriptioneventExpiration(Long eventExpiration) In milliseconds.periods(Collection<Period> periods) A list of time periods during which the limits apply.periods(Consumer<Period.Builder>... periods) A list of time periods during which the limits apply.A list of time periods during which the limits apply.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
eventExpiration
In milliseconds. Specifies that an event will only trigger the destination if it is processed within a certain latency period.
- Parameters:
eventExpiration- In milliseconds. Specifies that an event will only trigger the destination if it is processed within a certain latency period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
periods
A list of time periods during which the limits apply.
- Parameters:
periods- A list of time periods during which the limits apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
periods
A list of time periods during which the limits apply.
- Parameters:
periods- A list of time periods during which the limits apply.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
periods
A list of time periods during which the limits apply.
This is a convenience method that creates an instance of thePeriod.Builderavoiding the need to create one manually viaPeriod.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toperiods(List<Period>).- Parameters:
periods- a consumer that will call methods onPeriod.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-