Recurrence

sealed class Recurrence

Recurrence cadence for a time-range schedule

Inheritors

Types

Link copied to clipboard
data class Daily(val value: DailyRecurrence) : Recurrence

The window recurs every day

Link copied to clipboard
data class Monthly(val value: MonthlyRecurrence) : Recurrence

The window recurs once per month

Link copied to clipboard
Link copied to clipboard
data class Weekly(val value: WeeklyRecurrence) : Recurrence

The window recurs once per week

Functions

Link copied to clipboard

Casts this Recurrence as a Daily and retrieves its aws.sdk.kotlin.services.devopsagent.model.DailyRecurrence value. Throws an exception if the Recurrence is not a Daily.

Link copied to clipboard

Casts this Recurrence as a Daily and retrieves its aws.sdk.kotlin.services.devopsagent.model.DailyRecurrence value. Returns null if the Recurrence is not a Daily.

Link copied to clipboard

Casts this Recurrence as a Monthly and retrieves its aws.sdk.kotlin.services.devopsagent.model.MonthlyRecurrence value. Throws an exception if the Recurrence is not a Monthly.

Link copied to clipboard

Casts this Recurrence as a Monthly and retrieves its aws.sdk.kotlin.services.devopsagent.model.MonthlyRecurrence value. Returns null if the Recurrence is not a Monthly.

Link copied to clipboard

Casts this Recurrence as a Weekly and retrieves its aws.sdk.kotlin.services.devopsagent.model.WeeklyRecurrence value. Throws an exception if the Recurrence is not a Weekly.

Link copied to clipboard

Casts this Recurrence as a Weekly and retrieves its aws.sdk.kotlin.services.devopsagent.model.WeeklyRecurrence value. Returns null if the Recurrence is not a Weekly.