ServiceLevelObjectiveCalendarIntervalArgs

data class ServiceLevelObjectiveCalendarIntervalArgs(val duration: Output<Int>, val durationUnit: Output<ServiceLevelObjectiveDurationUnit>, val startTime: Output<Int>) : ConvertibleToJava<ServiceLevelObjectiveCalendarIntervalArgs>

If the interval for this service level objective is a calendar interval, this structure contains the interval specifications.

Constructors

constructor(duration: Output<Int>, durationUnit: Output<ServiceLevelObjectiveDurationUnit>, startTime: Output<Int>)

Properties

Link copied to clipboard
val duration: Output<Int>

Specifies the duration of each calendar interval. For example, if Duration is 1 and DurationUnit is MONTH , each interval is one month, aligned with the calendar.

Link copied to clipboard

Specifies the calendar interval unit.

Link copied to clipboard
val startTime: Output<Int>

Epoch time in seconds 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. As soon as one calendar interval ends, another automatically begins.

Functions

Link copied to clipboard
open override fun toJava(): ServiceLevelObjectiveCalendarIntervalArgs