Interface EvaluationWindow.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EvaluationWindow.Builder,,EvaluationWindow> SdkBuilder<EvaluationWindow.Builder,,EvaluationWindow> SdkPojo
- Enclosing class:
EvaluationWindow
-
Method Summary
Modifier and TypeMethodDescriptiondefault EvaluationWindow.BuilderslidingWindow(Consumer<SlidingWindow.Builder> slidingWindow) A sliding window, which advances each time the alarm is evaluated, forming a rolling time window.slidingWindow(SlidingWindow slidingWindow) A sliding window, which advances each time the alarm is evaluated, forming a rolling time window.default EvaluationWindow.BuilderwallClockWindow(Consumer<WallClockWindow.Builder> wallClockWindow) A wall clock window, which aligns the evaluated range to fixed clock boundaries that match the alarm's period, such as the top of the hour, midnight, or the start of the calendar week.wallClockWindow(WallClockWindow wallClockWindow) A wall clock window, which aligns the evaluated range to fixed clock boundaries that match the alarm's period, such as the top of the hour, midnight, or the start of the calendar week.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
-
wallClockWindow
A wall clock window, which aligns the evaluated range to fixed clock boundaries that match the alarm's period, such as the top of the hour, midnight, or the start of the calendar week.
- Parameters:
wallClockWindow- A wall clock window, which aligns the evaluated range to fixed clock boundaries that match the alarm's period, such as the top of the hour, midnight, or the start of the calendar week.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wallClockWindow
A wall clock window, which aligns the evaluated range to fixed clock boundaries that match the alarm's period, such as the top of the hour, midnight, or the start of the calendar week.
This is a convenience method that creates an instance of theWallClockWindow.Builderavoiding the need to create one manually viaWallClockWindow.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towallClockWindow(WallClockWindow).- Parameters:
wallClockWindow- a consumer that will call methods onWallClockWindow.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
slidingWindow
A sliding window, which advances each time the alarm is evaluated, forming a rolling time window. This is the default evaluation window.
- Parameters:
slidingWindow- A sliding window, which advances each time the alarm is evaluated, forming a rolling time window. This is the default evaluation window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slidingWindow
A sliding window, which advances each time the alarm is evaluated, forming a rolling time window. This is the default evaluation window.
This is a convenience method that creates an instance of theSlidingWindow.Builderavoiding the need to create one manually viaSlidingWindow.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toslidingWindow(SlidingWindow).- Parameters:
slidingWindow- a consumer that will call methods onSlidingWindow.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-