public class PutNotificationConfigurationRequest extends AmazonWebServiceRequest implements java.io.Serializable
Configures an Auto Scaling group to send notifications when specified events take place. Subscribers to this topic can have messages for events delivered to an endpoint such as a web server or email address.
For more information see Getting Notifications When Your Auto Scaling Group Changes in the Auto Scaling Developer Guide.
This configuration overwrites an existing configuration.
Constructor and Description |
---|
PutNotificationConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAutoScalingGroupName()
The name of the Auto Scaling group.
|
java.util.List<java.lang.String> |
getNotificationTypes()
The type of event that will cause the notification to be sent.
|
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 Auto Scaling group.
|
void |
setNotificationTypes(java.util.Collection<java.lang.String> notificationTypes)
The type of event that will cause the notification to be sent.
|
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.
|
PutNotificationConfigurationRequest |
withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group.
|
PutNotificationConfigurationRequest |
withNotificationTypes(java.util.Collection<java.lang.String> notificationTypes)
The type of event that will cause the notification to be sent.
|
PutNotificationConfigurationRequest |
withNotificationTypes(java.lang.String... notificationTypes)
The type of event that will cause the notification to be sent.
|
PutNotificationConfigurationRequest |
withTopicARN(java.lang.String topicARN)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service
(SNS) topic.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getAutoScalingGroupName()
The name of the Auto Scaling group.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
The name of the Auto Scaling group.
public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name of the Auto Scaling group.
public PutNotificationConfigurationRequest withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling 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 Auto Scaling 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 PutNotificationConfigurationRequest 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.util.List<java.lang.String> getNotificationTypes()
The type of event that will cause the notification to be sent. For details about notification types supported by Auto Scaling, see DescribeAutoScalingNotificationTypes.
The type of event that will cause the notification to be sent. For details about notification types supported by Auto Scaling, see DescribeAutoScalingNotificationTypes.
public void setNotificationTypes(java.util.Collection<java.lang.String> notificationTypes)
The type of event that will cause the notification to be sent. For details about notification types supported by Auto Scaling, see DescribeAutoScalingNotificationTypes.
notificationTypes
- The type of event that will cause the notification to be sent. For details about notification types supported by Auto Scaling, see DescribeAutoScalingNotificationTypes.
public PutNotificationConfigurationRequest withNotificationTypes(java.lang.String... notificationTypes)
The type of event that will cause the notification to be sent. For details about notification types supported by Auto Scaling, see DescribeAutoScalingNotificationTypes.
Returns a reference to this object so that method calls can be chained together.
notificationTypes
- The type of event that will cause the notification to be sent. For details about notification types supported by Auto Scaling, see DescribeAutoScalingNotificationTypes.
public PutNotificationConfigurationRequest withNotificationTypes(java.util.Collection<java.lang.String> notificationTypes)
The type of event that will cause the notification to be sent. For details about notification types supported by Auto Scaling, see DescribeAutoScalingNotificationTypes.
Returns a reference to this object so that method calls can be chained together.
notificationTypes
- The type of event that will cause the notification to be sent. For details about notification types supported by Auto Scaling, see DescribeAutoScalingNotificationTypes.
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.