Class DescribeAutoScalingNotificationTypesResult

    • Constructor Detail

      • DescribeAutoScalingNotificationTypesResult

        public DescribeAutoScalingNotificationTypesResult()
    • Method Detail

      • getAutoScalingNotificationTypes

        public List<String> getAutoScalingNotificationTypes()

        One or more of the following notification types:

        • autoscaling:EC2_INSTANCE_LAUNCH

        • autoscaling:EC2_INSTANCE_LAUNCH_ERROR

        • autoscaling:EC2_INSTANCE_TERMINATE

        • autoscaling:EC2_INSTANCE_TERMINATE_ERROR

        • autoscaling:TEST_NOTIFICATION

        Returns:
        One or more of the following notification types:

        • autoscaling:EC2_INSTANCE_LAUNCH

        • autoscaling:EC2_INSTANCE_LAUNCH_ERROR

        • autoscaling:EC2_INSTANCE_TERMINATE

        • autoscaling:EC2_INSTANCE_TERMINATE_ERROR

        • autoscaling:TEST_NOTIFICATION

      • setAutoScalingNotificationTypes

        public void setAutoScalingNotificationTypes​(Collection<String> autoScalingNotificationTypes)

        One or more of the following notification types:

        • autoscaling:EC2_INSTANCE_LAUNCH

        • autoscaling:EC2_INSTANCE_LAUNCH_ERROR

        • autoscaling:EC2_INSTANCE_TERMINATE

        • autoscaling:EC2_INSTANCE_TERMINATE_ERROR

        • autoscaling:TEST_NOTIFICATION

        Parameters:
        autoScalingNotificationTypes - One or more of the following notification types:

        • autoscaling:EC2_INSTANCE_LAUNCH

        • autoscaling:EC2_INSTANCE_LAUNCH_ERROR

        • autoscaling:EC2_INSTANCE_TERMINATE

        • autoscaling:EC2_INSTANCE_TERMINATE_ERROR

        • autoscaling:TEST_NOTIFICATION

      • withAutoScalingNotificationTypes

        public DescribeAutoScalingNotificationTypesResult withAutoScalingNotificationTypes​(String... autoScalingNotificationTypes)

        One or more of the following notification types:

        • autoscaling:EC2_INSTANCE_LAUNCH

        • autoscaling:EC2_INSTANCE_LAUNCH_ERROR

        • autoscaling:EC2_INSTANCE_TERMINATE

        • autoscaling:EC2_INSTANCE_TERMINATE_ERROR

        • autoscaling:TEST_NOTIFICATION

        NOTE: This method appends the values to the existing list (if any). Use setAutoScalingNotificationTypes(java.util.Collection) or withAutoScalingNotificationTypes(java.util.Collection) if you want to override the existing values.

        Parameters:
        autoScalingNotificationTypes - One or more of the following notification types:

        • autoscaling:EC2_INSTANCE_LAUNCH

        • autoscaling:EC2_INSTANCE_LAUNCH_ERROR

        • autoscaling:EC2_INSTANCE_TERMINATE

        • autoscaling:EC2_INSTANCE_TERMINATE_ERROR

        • autoscaling:TEST_NOTIFICATION

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withAutoScalingNotificationTypes

        public DescribeAutoScalingNotificationTypesResult withAutoScalingNotificationTypes​(Collection<String> autoScalingNotificationTypes)

        One or more of the following notification types:

        • autoscaling:EC2_INSTANCE_LAUNCH

        • autoscaling:EC2_INSTANCE_LAUNCH_ERROR

        • autoscaling:EC2_INSTANCE_TERMINATE

        • autoscaling:EC2_INSTANCE_TERMINATE_ERROR

        • autoscaling:TEST_NOTIFICATION

        Parameters:
        autoScalingNotificationTypes - One or more of the following notification types:

        • autoscaling:EC2_INSTANCE_LAUNCH

        • autoscaling:EC2_INSTANCE_LAUNCH_ERROR

        • autoscaling:EC2_INSTANCE_TERMINATE

        • autoscaling:EC2_INSTANCE_TERMINATE_ERROR

        • autoscaling:TEST_NOTIFICATION

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object