public class NotificationConfiguration
extends java.lang.Object
implements java.io.Serializable
Describes a notification.
Constructor and Description |
---|
NotificationConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAutoScalingGroupName()
The name of the group.
|
java.lang.String |
getNotificationType()
One of the following event notification types:
|
java.lang.String |
getTopicARN()
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service
(SNS) topic.
|
int |
hashCode() |
void |
setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
|
void |
setNotificationType(java.lang.String notificationType)
One of the following event notification types:
|
void |
setTopicARN(java.lang.String topicARN)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service
(SNS) topic.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NotificationConfiguration |
withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
|
NotificationConfiguration |
withNotificationType(java.lang.String notificationType)
One of the following event notification types:
|
NotificationConfiguration |
withTopicARN(java.lang.String topicARN)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service
(SNS) topic.
|
public java.lang.String getAutoScalingGroupName()
The name of the group.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
The name of the group.
public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name of the group.
public NotificationConfiguration withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name of the group.
public java.lang.String getTopicARN()
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
public void setTopicARN(java.lang.String topicARN)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
topicARN
- The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
public NotificationConfiguration withTopicARN(java.lang.String topicARN)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
topicARN
- The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
public java.lang.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
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
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 void setNotificationType(java.lang.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
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
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 NotificationConfiguration withNotificationType(java.lang.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
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 255
Pattern: [ --�𐀀-\r\n\t]*
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.