Interface CfnServiceLevelObjective.ExclusionWindowProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServiceLevelObjective.ExclusionWindowProperty.Jsii$Proxy
- Enclosing class:
CfnServiceLevelObjective
@Stability(Stable)
public static interface CfnServiceLevelObjective.ExclusionWindowProperty
extends software.amazon.jsii.JsiiSerializable
The core SLO time window exclusion object that includes Window, StartTime, RecurrenceRule, and Reason.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.applicationsignals.*;
ExclusionWindowProperty exclusionWindowProperty = ExclusionWindowProperty.builder()
.window(WindowProperty.builder()
.duration(123)
.durationUnit("durationUnit")
.build())
// the properties below are optional
.reason("reason")
.recurrenceRule(RecurrenceRuleProperty.builder()
.expression("expression")
.build())
.startTime("startTime")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnServiceLevelObjective.ExclusionWindowPropertystatic final classAn implementation forCfnServiceLevelObjective.ExclusionWindowProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringA description explaining why this time period should be excluded from SLO calculations.default ObjectThe recurrence rule for the SLO time window exclusion.default StringThe start of the SLO time window exclusion.The SLO time window exclusion .Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getWindow
The SLO time window exclusion .- See Also:
-
getReason
A description explaining why this time period should be excluded from SLO calculations.Default: - "No reason"
- See Also:
-
getRecurrenceRule
The recurrence rule for the SLO time window exclusion.Supports both cron and rate expressions.
- See Also:
-
getStartTime
The start of the SLO time window exclusion.Defaults to current time if not specified.
- See Also:
-
builder
-