public class PutNotificationConfigurationRequest extends AmazonWebServiceRequest implements Serializable
PutNotificationConfiguration operation
.
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.
A new PutNotificationConfiguration
overwrites an existing configuration.
Constructor and Description |
---|
PutNotificationConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the Auto Scaling group.
|
List<String> |
getNotificationTypes()
The type of events that will trigger the notification.
|
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 Auto Scaling group.
|
void |
setNotificationTypes(Collection<String> notificationTypes)
The type of events that will trigger the notification.
|
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.
|
PutNotificationConfigurationRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
PutNotificationConfigurationRequest |
withNotificationTypes(Collection<String> notificationTypes)
The type of events that will trigger the notification.
|
PutNotificationConfigurationRequest |
withNotificationTypes(String... notificationTypes)
The type of events that will trigger the notification.
|
PutNotificationConfigurationRequest |
withTopicARN(String topicARN)
The Amazon Resource Name (ARN) of the Amazon Simple Notification
Service (SNS) topic.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
public String getAutoScalingGroupName()
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
public void setAutoScalingGroupName(String autoScalingGroupName)
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name of the Auto Scaling group.public PutNotificationConfigurationRequest withAutoScalingGroupName(String autoScalingGroupName)
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 String getTopicARN()
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
public void setTopicARN(String topicARN)
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(String topicARN)
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 List<String> getNotificationTypes()
public void setNotificationTypes(Collection<String> notificationTypes)
notificationTypes
- The type of events that will trigger the notification. For more
information, go to DescribeAutoScalingNotificationTypes.public PutNotificationConfigurationRequest withNotificationTypes(String... notificationTypes)
Returns a reference to this object so that method calls can be chained together.
notificationTypes
- The type of events that will trigger the notification. For more
information, go to DescribeAutoScalingNotificationTypes.public PutNotificationConfigurationRequest withNotificationTypes(Collection<String> notificationTypes)
Returns a reference to this object so that method calls can be chained together.
notificationTypes
- The type of events that will trigger the notification. For more
information, go to DescribeAutoScalingNotificationTypes.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.