@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotificationConfiguration extends Object implements Serializable, Cloneable
Describes a notification.
| Constructor and Description | 
|---|
NotificationConfiguration()  | 
| Modifier and Type | Method and Description | 
|---|---|
NotificationConfiguration | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getAutoScalingGroupName()
 The name of the group. 
 | 
String | 
getNotificationType()
 One of the following event notification types: 
 | 
String | 
getTopicARN()
 The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic. 
 | 
int | 
hashCode()  | 
void | 
setAutoScalingGroupName(String autoScalingGroupName)
 The name of the group. 
 | 
void | 
setNotificationType(String notificationType)
 One of the following event notification types: 
 | 
void | 
setTopicARN(String topicARN)
 The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic. 
 | 
String | 
toString()
Returns a string representation of this object; useful for testing and debugging. 
 | 
NotificationConfiguration | 
withAutoScalingGroupName(String autoScalingGroupName)
 The name of the group. 
 | 
NotificationConfiguration | 
withNotificationType(String notificationType)
 One of the following event notification types: 
 | 
NotificationConfiguration | 
withTopicARN(String topicARN)
 The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic. 
 | 
public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
autoScalingGroupName - The name of the group.public String getAutoScalingGroupName()
The name of the group.
public NotificationConfiguration withAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
autoScalingGroupName - The name of the group.public void setTopicARN(String topicARN)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
topicARN - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.public String getTopicARN()
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
public NotificationConfiguration withTopicARN(String topicARN)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
topicARN - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.public void setNotificationType(String notificationType)
One of the following event notification types:
 autoscaling:EC2_INSTANCE_LAUNCH
 
 autoscaling:EC2_INSTANCE_LAUNCH_ERROR
 
 autoscaling:EC2_INSTANCE_TERMINATE
 
 autoscaling:EC2_INSTANCE_TERMINATE_ERROR
 
 autoscaling:TEST_NOTIFICATION
 
notificationType - One of the following event notification types:
        
        autoscaling:EC2_INSTANCE_LAUNCH
        
        autoscaling:EC2_INSTANCE_LAUNCH_ERROR
        
        autoscaling:EC2_INSTANCE_TERMINATE
        
        autoscaling:EC2_INSTANCE_TERMINATE_ERROR
        
        autoscaling:TEST_NOTIFICATION
        
public String getNotificationType()
One of the following event notification types:
 autoscaling:EC2_INSTANCE_LAUNCH
 
 autoscaling:EC2_INSTANCE_LAUNCH_ERROR
 
 autoscaling:EC2_INSTANCE_TERMINATE
 
 autoscaling:EC2_INSTANCE_TERMINATE_ERROR
 
 autoscaling:TEST_NOTIFICATION
 
         autoscaling:EC2_INSTANCE_LAUNCH
         
         autoscaling:EC2_INSTANCE_LAUNCH_ERROR
         
         autoscaling:EC2_INSTANCE_TERMINATE
         
         autoscaling:EC2_INSTANCE_TERMINATE_ERROR
         
         autoscaling:TEST_NOTIFICATION
         
public NotificationConfiguration withNotificationType(String notificationType)
One of the following event notification types:
 autoscaling:EC2_INSTANCE_LAUNCH
 
 autoscaling:EC2_INSTANCE_LAUNCH_ERROR
 
 autoscaling:EC2_INSTANCE_TERMINATE
 
 autoscaling:EC2_INSTANCE_TERMINATE_ERROR
 
 autoscaling:TEST_NOTIFICATION
 
notificationType - One of the following event notification types:
        
        autoscaling:EC2_INSTANCE_LAUNCH
        
        autoscaling:EC2_INSTANCE_LAUNCH_ERROR
        
        autoscaling:EC2_INSTANCE_TERMINATE
        
        autoscaling:EC2_INSTANCE_TERMINATE_ERROR
        
        autoscaling:TEST_NOTIFICATION
        
public String toString()
toString in class ObjectObject.toString()public NotificationConfiguration clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.