Schedule

sealed class Schedule

A schedule.

Inheritors

Types

Link copied to clipboard
data class Daily(val value: DailySchedule) : Schedule

The schedule's daily.

Link copied to clipboard
data class Monthly(val value: MonthlySchedule) : Schedule

The schedule's monthly.

Link copied to clipboard
data class OneTime(val value: OneTimeSchedule) : Schedule

The schedule's one time.

Link copied to clipboard
Link copied to clipboard
data class Weekly(val value: WeeklySchedule) : Schedule

The schedule's weekly.

Functions

Link copied to clipboard

Casts this Schedule as a Daily and retrieves its aws.sdk.kotlin.services.inspector2.model.DailySchedule value. Throws an exception if the Schedule is not a Daily.

Link copied to clipboard

Casts this Schedule as a Daily and retrieves its aws.sdk.kotlin.services.inspector2.model.DailySchedule value. Returns null if the Schedule is not a Daily.

Link copied to clipboard

Casts this Schedule as a Monthly and retrieves its aws.sdk.kotlin.services.inspector2.model.MonthlySchedule value. Throws an exception if the Schedule is not a Monthly.

Link copied to clipboard

Casts this Schedule as a Monthly and retrieves its aws.sdk.kotlin.services.inspector2.model.MonthlySchedule value. Returns null if the Schedule is not a Monthly.

Link copied to clipboard

Casts this Schedule as a OneTime and retrieves its aws.sdk.kotlin.services.inspector2.model.OneTimeSchedule value. Throws an exception if the Schedule is not a OneTime.

Link copied to clipboard

Casts this Schedule as a OneTime and retrieves its aws.sdk.kotlin.services.inspector2.model.OneTimeSchedule value. Returns null if the Schedule is not a OneTime.

Link copied to clipboard

Casts this Schedule as a Weekly and retrieves its aws.sdk.kotlin.services.inspector2.model.WeeklySchedule value. Throws an exception if the Schedule is not a Weekly.

Link copied to clipboard

Casts this Schedule as a Weekly and retrieves its aws.sdk.kotlin.services.inspector2.model.WeeklySchedule value. Returns null if the Schedule is not a Weekly.