Class ResourceType

    • Method Detail

      • cloudFormation

        public final CloudFormation cloudFormation()

        The CloudFormation template of the resource type.

        Returns:
        The CloudFormation template of the resource type.
      • m2ManagedApplication

        public final M2ManagedApplication m2ManagedApplication()

        The AWS Mainframe Modernization managed application of the resource type.

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

        public final M2NonManagedApplication m2NonManagedApplication()

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

        Returns:
        The AWS Mainframe Modernization non-managed application of the resource type.
      • 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)
      • fromCloudFormation

        public static ResourceType fromCloudFormation​(CloudFormation cloudFormation)
        Create an instance of this class with cloudFormation() initialized to the given value.

        The CloudFormation template of the resource type.

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

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

        The CloudFormation template of the resource type.

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

        public static ResourceType fromM2ManagedApplication​(M2ManagedApplication m2ManagedApplication)
        Create an instance of this class with m2ManagedApplication() initialized to the given value.

        The AWS Mainframe Modernization managed application of the resource type.

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

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

        The AWS Mainframe Modernization managed application of the resource type.

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

        public static ResourceType fromM2NonManagedApplication​(M2NonManagedApplication m2NonManagedApplication)
        Create an instance of this class with m2NonManagedApplication() initialized to the given value.

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

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

        public static ResourceType fromM2NonManagedApplication​(Consumer<M2NonManagedApplication.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 type.

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