Interface EventTriggerLimits.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EventTriggerLimits.Builder,
,EventTriggerLimits> SdkBuilder<EventTriggerLimits.Builder,
,EventTriggerLimits> SdkPojo
- Enclosing class:
EventTriggerLimits
@Mutable
@NotThreadSafe
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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaPeriod.builder()
.When the
Consumer
completes,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:
-