OneTime

data class OneTime(val value: OneTimeSchedule) : Schedule

The schedule's one time.

Constructors

Link copied to clipboard
constructor(value: OneTimeSchedule)

Properties

Link copied to clipboard

Inherited 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.