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