Interface CfnServiceLevelObjectivePropsMixin.CalendarIntervalProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServiceLevelObjectivePropsMixin.CalendarIntervalProperty.Jsii$Proxy
- Enclosing class:
CfnServiceLevelObjectivePropsMixin
@Stability(Stable)
public static interface CfnServiceLevelObjectivePropsMixin.CalendarIntervalProperty
extends software.amazon.jsii.JsiiSerializable
If the interval for this service level objective is a calendar interval, this structure contains the interval specifications.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.applicationsignals.mixins.*;
CalendarIntervalProperty calendarIntervalProperty = CalendarIntervalProperty.builder()
.duration(123)
.durationUnit("durationUnit")
.startTime(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnServiceLevelObjectivePropsMixin.CalendarIntervalProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDuration
Specifies the duration of each calendar interval.For example, if
Durationis1andDurationUnitisMONTH, each interval is one month, aligned with the calendar.- See Also:
-
getDurationUnit
Specifies the calendar interval unit.- See Also:
-
getStartTime
The date and time when you want the first interval to start.Be sure to choose a time that configures the intervals the way that you want. For example, if you want weekly intervals starting on Mondays at 6 a.m., be sure to specify a start time that is a Monday at 6 a.m.
When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example:
1698778057As soon as one calendar interval ends, another automatically begins.
- See Also:
-
builder
@Stability(Stable) static CfnServiceLevelObjectivePropsMixin.CalendarIntervalProperty.Builder builder()
-