Class ResourceAction

    • 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.
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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)
      • fromM2ManagedApplicationAction

        public static ResourceAction fromM2ManagedApplicationAction​(M2ManagedApplicationAction m2ManagedApplicationAction)
        Create an instance of this class with m2ManagedApplicationAction() 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 with m2ManagedApplicationAction() 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 with m2NonManagedApplicationAction() 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 with m2NonManagedApplicationAction() 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 with cloudFormationAction() 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 with cloudFormationAction() initialized to the given value.

        The CloudFormation action of the resource action.

        Parameters:
        cloudFormationAction - The CloudFormation action of the resource action.