Class DescribeAutoScalingNotificationTypesResult

java.lang.Object
com.amazonaws.services.autoscaling.model.DescribeAutoScalingNotificationTypesResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeAutoScalingNotificationTypesResult extends Object implements Serializable, Cloneable
See Also:
  • Constructor Details

    • DescribeAutoScalingNotificationTypesResult

      public DescribeAutoScalingNotificationTypesResult()
  • Method Details

    • 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object