MainframeActionType

sealed class MainframeActionType

Specifies the mainframe action type.

Inheritors

Types

Link copied to clipboard
data class Batch(val value: Batch) : MainframeActionType

The batch of the mainframe action type.

Link copied to clipboard
Link copied to clipboard
data class Tn3270(val value: Tn3270) : MainframeActionType

The tn3270 port of the mainframe action type.

Functions

Link copied to clipboard
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.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Casts this MainframeActionType as a Tn3270 and retrieves its aws.sdk.kotlin.services.apptest.model.Tn3270 value. Returns null if the MainframeActionType is not a Tn3270.