Class MainframeActionType
- java.lang.Object
-
- software.amazon.awssdk.services.apptest.model.MainframeActionType
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MainframeActionType.Builder,MainframeActionType>
@Generated("software.amazon.awssdk:codegen") public final class MainframeActionType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MainframeActionType.Builder,MainframeActionType>
Specifies the mainframe action type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMainframeActionType.Builderstatic classMainframeActionType.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Batchbatch()The batch of the mainframe action type.static MainframeActionType.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static MainframeActionTypefromBatch(Consumer<Batch.Builder> batch)Create an instance of this class withbatch()initialized to the given value.static MainframeActionTypefromBatch(Batch batch)Create an instance of this class withbatch()initialized to the given value.static MainframeActionTypefromTn3270(Consumer<TN3270.Builder> tn3270)Create an instance of this class withtn3270()initialized to the given value.static MainframeActionTypefromTn3270(TN3270 tn3270)Create an instance of this class withtn3270()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends MainframeActionType.Builder>serializableBuilderClass()TN3270tn3270()The tn3270 port of the mainframe action type.MainframeActionType.BuildertoBuilder()StringtoString()Returns a string representation of this object.MainframeActionType.Typetype()Retrieve an enum value representing which member of this object is populated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
batch
public final Batch batch()
The batch of the mainframe action type.
- Returns:
- The batch of the mainframe action type.
-
tn3270
public final TN3270 tn3270()
The tn3270 port of the mainframe action type.
- Returns:
- The tn3270 port of the mainframe action type.
-
toBuilder
public MainframeActionType.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MainframeActionType.Builder,MainframeActionType>
-
builder
public static MainframeActionType.Builder builder()
-
serializableBuilderClass
public static Class<? extends MainframeActionType.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
fromBatch
public static MainframeActionType fromBatch(Batch batch)
Create an instance of this class withbatch()initialized to the given value.The batch of the mainframe action type.
- Parameters:
batch- The batch of the mainframe action type.
-
fromBatch
public static MainframeActionType fromBatch(Consumer<Batch.Builder> batch)
Create an instance of this class withbatch()initialized to the given value.The batch of the mainframe action type.
- Parameters:
batch- The batch of the mainframe action type.
-
fromTn3270
public static MainframeActionType fromTn3270(TN3270 tn3270)
Create an instance of this class withtn3270()initialized to the given value.The tn3270 port of the mainframe action type.
- Parameters:
tn3270- The tn3270 port of the mainframe action type.
-
fromTn3270
public static MainframeActionType fromTn3270(Consumer<TN3270.Builder> tn3270)
Create an instance of this class withtn3270()initialized to the given value.The tn3270 port of the mainframe action type.
- Parameters:
tn3270- The tn3270 port of the mainframe action type.
-
type
public MainframeActionType.Type type()
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beMainframeActionType.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beMainframeActionType.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-