Interface CfnServiceLevelObjective.IntervalProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServiceLevelObjective.IntervalProperty.Jsii$Proxy
- Enclosing class:
CfnServiceLevelObjective
@Stability(Stable)
public static interface CfnServiceLevelObjective.IntervalProperty
extends software.amazon.jsii.JsiiSerializable
The time period used to evaluate the SLO.
It can be either a calendar interval or rolling interval.
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.*;
IntervalProperty intervalProperty = IntervalProperty.builder()
.calendarInterval(CalendarIntervalProperty.builder()
.duration(123)
.durationUnit("durationUnit")
.startTime(123)
.build())
.rollingInterval(RollingIntervalProperty.builder()
.duration(123)
.durationUnit("durationUnit")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnServiceLevelObjective.IntervalPropertystatic final classAn implementation forCfnServiceLevelObjective.IntervalProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCalendarInterval
If the interval is a calendar interval, this structure contains the interval specifications.Returns union: either
IResolvableorCfnServiceLevelObjective.CalendarIntervalProperty- See Also:
-
getRollingInterval
If the interval is a rolling interval, this structure contains the interval specifications.Returns union: either
IResolvableorCfnServiceLevelObjective.RollingIntervalProperty- See Also:
-
builder
-