asBatch

fun asBatch(): Batch

Casts this MainframeActionType as a Batch and retrieves its aws.sdk.kotlin.services.apptest.model.Batch value. Throws an exception if the MainframeActionType is not a Batch.