asSchedule

Casts this TriggerCondition as a Schedule and retrieves its aws.sdk.kotlin.services.devopsagent.model.ScheduleCondition value. Throws an exception if the TriggerCondition is not a Schedule.