|
|||||||
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.
For more information see Get Email Notifications When Your Auto Scaling Group Changes
A new PutNotificationConfiguration
overwrites an existing
configuration.
AmazonAutoScaling.putNotificationConfiguration(PutNotificationConfigurationRequest)
,
Serialized FormConstructor Summary | |
---|---|
PutNotificationConfigurationRequest()
|
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PutNotificationConfigurationRequest()
Method Detail |
---|
public java.lang.String getAutoScalingGroupName()
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
autoScalingGroupName
- The name of the Auto Scaling group.public PutNotificationConfigurationRequest withAutoScalingGroupName(java.lang.String autoScalingGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
autoScalingGroupName
- The name of the Auto Scaling group.
public java.lang.String getTopicARN()
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setTopicARN(java.lang.String topicARN)
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
topicARN
- The Amazon Resource Name (ARN) of the Amazon Simple Notification
Service (SNS) topic.public PutNotificationConfigurationRequest withTopicARN(java.lang.String topicARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\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()
public void setNotificationTypes(java.util.Collection<java.lang.String> notificationTypes)
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)
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)
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
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |