|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.autoscaling.model.PutNotificationConfigurationRequest
public class PutNotificationConfigurationRequest
Container for the parameters to the 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.
AmazonAutoScaling.putNotificationConfiguration(PutNotificationConfigurationRequest)
Constructor Summary | |
---|---|
PutNotificationConfigurationRequest()
|
Method Summary | |
---|---|
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. |
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PutNotificationConfigurationRequest()
Method Detail |
---|
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()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |