Class ResourceAction
- java.lang.Object
-
- software.amazon.awssdk.services.apptest.model.ResourceAction
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResourceAction.Builder,ResourceAction>
@Generated("software.amazon.awssdk:codegen") public final class ResourceAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceAction.Builder,ResourceAction>
Specifies a resource action.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResourceAction.Builderstatic classResourceAction.Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceAction.Builderbuilder()CloudFormationActioncloudFormationAction()The CloudFormation action of the resource action.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)static ResourceActionfromCloudFormationAction(Consumer<CloudFormationAction.Builder> cloudFormationAction)Create an instance of this class withcloudFormationAction()initialized to the given value.static ResourceActionfromCloudFormationAction(CloudFormationAction cloudFormationAction)Create an instance of this class withcloudFormationAction()initialized to the given value.static ResourceActionfromM2ManagedApplicationAction(Consumer<M2ManagedApplicationAction.Builder> m2ManagedApplicationAction)Create an instance of this class withm2ManagedApplicationAction()initialized to the given value.static ResourceActionfromM2ManagedApplicationAction(M2ManagedApplicationAction m2ManagedApplicationAction)Create an instance of this class withm2ManagedApplicationAction()initialized to the given value.static ResourceActionfromM2NonManagedApplicationAction(Consumer<M2NonManagedApplicationAction.Builder> m2NonManagedApplicationAction)Create an instance of this class withm2NonManagedApplicationAction()initialized to the given value.static ResourceActionfromM2NonManagedApplicationAction(M2NonManagedApplicationAction m2NonManagedApplicationAction)Create an instance of this class withm2NonManagedApplicationAction()initialized to the given value.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()M2ManagedApplicationActionm2ManagedApplicationAction()The AWS Mainframe Modernization managed application action of the resource action.M2NonManagedApplicationActionm2NonManagedApplicationAction()The AWS Mainframe Modernization non-managed application action of the resource action.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ResourceAction.Builder>serializableBuilderClass()ResourceAction.BuildertoBuilder()StringtoString()Returns a string representation of this object.ResourceAction.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
-
m2ManagedApplicationAction
public final M2ManagedApplicationAction m2ManagedApplicationAction()
The AWS Mainframe Modernization managed application action of the resource action.
- Returns:
- The AWS Mainframe Modernization managed application action of the resource action.
-
m2NonManagedApplicationAction
public final M2NonManagedApplicationAction m2NonManagedApplicationAction()
The AWS Mainframe Modernization non-managed application action of the resource action.
- Returns:
- The AWS Mainframe Modernization non-managed application action of the resource action.
-
cloudFormationAction
public final CloudFormationAction cloudFormationAction()
The CloudFormation action of the resource action.
- Returns:
- The CloudFormation action of the resource action.
-
toBuilder
public ResourceAction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResourceAction.Builder,ResourceAction>
-
builder
public static ResourceAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResourceAction.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.
-
fromM2ManagedApplicationAction
public static ResourceAction fromM2ManagedApplicationAction(M2ManagedApplicationAction m2ManagedApplicationAction)
Create an instance of this class withm2ManagedApplicationAction()initialized to the given value.The AWS Mainframe Modernization managed application action of the resource action.
- Parameters:
m2ManagedApplicationAction- The AWS Mainframe Modernization managed application action of the resource action.
-
fromM2ManagedApplicationAction
public static ResourceAction fromM2ManagedApplicationAction(Consumer<M2ManagedApplicationAction.Builder> m2ManagedApplicationAction)
Create an instance of this class withm2ManagedApplicationAction()initialized to the given value.The AWS Mainframe Modernization managed application action of the resource action.
- Parameters:
m2ManagedApplicationAction- The AWS Mainframe Modernization managed application action of the resource action.
-
fromM2NonManagedApplicationAction
public static ResourceAction fromM2NonManagedApplicationAction(M2NonManagedApplicationAction m2NonManagedApplicationAction)
Create an instance of this class withm2NonManagedApplicationAction()initialized to the given value.The AWS Mainframe Modernization non-managed application action of the resource action.
- Parameters:
m2NonManagedApplicationAction- The AWS Mainframe Modernization non-managed application action of the resource action.
-
fromM2NonManagedApplicationAction
public static ResourceAction fromM2NonManagedApplicationAction(Consumer<M2NonManagedApplicationAction.Builder> m2NonManagedApplicationAction)
Create an instance of this class withm2NonManagedApplicationAction()initialized to the given value.The AWS Mainframe Modernization non-managed application action of the resource action.
- Parameters:
m2NonManagedApplicationAction- The AWS Mainframe Modernization non-managed application action of the resource action.
-
fromCloudFormationAction
public static ResourceAction fromCloudFormationAction(CloudFormationAction cloudFormationAction)
Create an instance of this class withcloudFormationAction()initialized to the given value.The CloudFormation action of the resource action.
- Parameters:
cloudFormationAction- The CloudFormation action of the resource action.
-
fromCloudFormationAction
public static ResourceAction fromCloudFormationAction(Consumer<CloudFormationAction.Builder> cloudFormationAction)
Create an instance of this class withcloudFormationAction()initialized to the given value.The CloudFormation action of the resource action.
- Parameters:
cloudFormationAction- The CloudFormation action of the resource action.
-
type
public ResourceAction.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 beResourceAction.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 beResourceAction.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
-
-