Interface ExclusionWindow.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExclusionWindow.Builder,
,ExclusionWindow> SdkBuilder<ExclusionWindow.Builder,
,ExclusionWindow> SdkPojo
- Enclosing class:
ExclusionWindow
@Mutable
@NotThreadSafe
public static interface ExclusionWindow.Builder
extends SdkPojo, CopyableBuilder<ExclusionWindow.Builder,ExclusionWindow>
-
Method Summary
Modifier and TypeMethodDescriptionA description explaining why this time period should be excluded from SLO calculations.default ExclusionWindow.Builder
recurrenceRule
(Consumer<RecurrenceRule.Builder> recurrenceRule) The recurrence rule for the SLO time window exclusion.recurrenceRule
(RecurrenceRule recurrenceRule) The recurrence rule for the SLO time window exclusion.The start of the SLO time window exclusion.default ExclusionWindow.Builder
window
(Consumer<Window.Builder> window) The SLO time window exclusion .The SLO time window exclusion .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
-
window
The SLO time window exclusion .
- Parameters:
window
- The SLO time window exclusion .- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
window
The SLO time window exclusion .
This is a convenience method that creates an instance of theWindow.Builder
avoiding the need to create one manually viaWindow.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towindow(Window)
.- Parameters:
window
- a consumer that will call methods onWindow.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The start of the SLO time window exclusion. Defaults to current time if not specified.
- Parameters:
startTime
- The start of the SLO time window exclusion. Defaults to current time if not specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurrenceRule
The recurrence rule for the SLO time window exclusion. Supports both cron and rate expressions.
- Parameters:
recurrenceRule
- The recurrence rule for the SLO time window exclusion. Supports both cron and rate expressions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurrenceRule
The recurrence rule for the SLO time window exclusion. Supports both cron and rate expressions.
This is a convenience method that creates an instance of theRecurrenceRule.Builder
avoiding the need to create one manually viaRecurrenceRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecurrenceRule(RecurrenceRule)
.- Parameters:
recurrenceRule
- a consumer that will call methods onRecurrenceRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reason
A description explaining why this time period should be excluded from SLO calculations.
- Parameters:
reason
- A description explaining why this time period should be excluded from SLO calculations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-