Class ResourceActionSummary

java.lang.Object
software.amazon.awssdk.services.apptest.model.ResourceActionSummary
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<ResourceActionSummary.Builder,ResourceActionSummary>

@Generated("software.amazon.awssdk:codegen") public final class ResourceActionSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceActionSummary.Builder,ResourceActionSummary>

Specifies the resource action summary.

See Also:
  • Method Details

    • cloudFormation

      public final CloudFormationStepSummary cloudFormation()

      The CloudFormation template of the resource action summary.

      Returns:
      The CloudFormation template of the resource action summary.
    • m2ManagedApplication

      public final M2ManagedApplicationStepSummary m2ManagedApplication()

      The AWS Mainframe Modernization managed application of the resource action summary.

      Returns:
      The AWS Mainframe Modernization managed application of the resource action summary.
    • m2NonManagedApplication

      public final M2NonManagedApplicationStepSummary m2NonManagedApplication()

      The AWS Mainframe Modernization non-managed application of the resource action summary.

      Returns:
      The AWS Mainframe Modernization non-managed application of the resource action summary.
    • toBuilder

      public ResourceActionSummary.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<ResourceActionSummary.Builder,ResourceActionSummary>
      Returns:
      a builder for type T
    • builder

      public static ResourceActionSummary.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ResourceActionSummary.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • fromCloudFormation

      public static ResourceActionSummary fromCloudFormation(CloudFormationStepSummary cloudFormation)
      Create an instance of this class with cloudFormation() initialized to the given value.

      The CloudFormation template of the resource action summary.

      Parameters:
      cloudFormation - The CloudFormation template of the resource action summary.
    • fromCloudFormation

      public static ResourceActionSummary fromCloudFormation(Consumer<CloudFormationStepSummary.Builder> cloudFormation)
      Create an instance of this class with cloudFormation() initialized to the given value.

      The CloudFormation template of the resource action summary.

      Parameters:
      cloudFormation - The CloudFormation template of the resource action summary.
    • fromM2ManagedApplication

      public static ResourceActionSummary fromM2ManagedApplication(M2ManagedApplicationStepSummary m2ManagedApplication)
      Create an instance of this class with m2ManagedApplication() initialized to the given value.

      The AWS Mainframe Modernization managed application of the resource action summary.

      Parameters:
      m2ManagedApplication - The AWS Mainframe Modernization managed application of the resource action summary.
    • fromM2ManagedApplication

      public static ResourceActionSummary fromM2ManagedApplication(Consumer<M2ManagedApplicationStepSummary.Builder> m2ManagedApplication)
      Create an instance of this class with m2ManagedApplication() initialized to the given value.

      The AWS Mainframe Modernization managed application of the resource action summary.

      Parameters:
      m2ManagedApplication - The AWS Mainframe Modernization managed application of the resource action summary.
    • fromM2NonManagedApplication

      public static ResourceActionSummary fromM2NonManagedApplication(M2NonManagedApplicationStepSummary m2NonManagedApplication)
      Create an instance of this class with m2NonManagedApplication() initialized to the given value.

      The AWS Mainframe Modernization non-managed application of the resource action summary.

      Parameters:
      m2NonManagedApplication - The AWS Mainframe Modernization non-managed application of the resource action summary.
    • fromM2NonManagedApplication

      public static ResourceActionSummary fromM2NonManagedApplication(Consumer<M2NonManagedApplicationStepSummary.Builder> m2NonManagedApplication)
      Create an instance of this class with m2NonManagedApplication() initialized to the given value.

      The AWS Mainframe Modernization non-managed application of the resource action summary.

      Parameters:
      m2NonManagedApplication - The AWS Mainframe Modernization non-managed application of the resource action summary.
    • type

      Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will be ResourceActionSummary.Type.UNKNOWN_TO_SDK_VERSION if 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 be ResourceActionSummary.Type.UNKNOWN_TO_SDK_VERSION if zero members are set, and null if more than one member is set.
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.