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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeAutoScalingNotificationTypesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeAutoScalingNotificationTypesResult
clone()
boolean
equals(Object obj)
List<String>
getAutoScalingNotificationTypes()
One or more of the following notification types:int
hashCode()
void
setAutoScalingNotificationTypes(Collection<String> autoScalingNotificationTypes)
One or more of the following notification types:String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeAutoScalingNotificationTypesResult
withAutoScalingNotificationTypes(String... autoScalingNotificationTypes)
One or more of the following notification types:DescribeAutoScalingNotificationTypesResult
withAutoScalingNotificationTypes(Collection<String> autoScalingNotificationTypes)
One or more of the following notification types:
-
-
-
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)
orwithAutoScalingNotificationTypes(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeAutoScalingNotificationTypesResult clone()
-
-