com.amazonaws.services.autoscaling.model
Class PutNotificationConfigurationRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.autoscaling.model.PutNotificationConfigurationRequest

public class PutNotificationConfigurationRequest
extends AmazonWebServiceRequest

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.

See Also:
AmazonAutoScaling.putNotificationConfiguration(PutNotificationConfigurationRequest)

Constructor Summary
PutNotificationConfigurationRequest()
           
 
Method Summary
 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.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PutNotificationConfigurationRequest

public PutNotificationConfigurationRequest()
Method Detail

getAutoScalingGroupName

public String getAutoScalingGroupName()
The name of the Auto Scaling group.

Constraints:
Length: 1 - 1600
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The name of the Auto Scaling group.

setAutoScalingGroupName

public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.

Constraints:
Length: 1 - 1600
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
autoScalingGroupName - The name of the Auto Scaling group.

withAutoScalingGroupName

public PutNotificationConfigurationRequest withAutoScalingGroupName(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]*

Parameters:
autoScalingGroupName - The name of the Auto Scaling group.
Returns:
A reference to this updated object so that method calls can be chained together.

getTopicARN

public String getTopicARN()
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.

Constraints:
Length: 1 - 1600
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Returns:
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.

setTopicARN

public void setTopicARN(String topicARN)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.

Constraints:
Length: 1 - 1600
Pattern: [ -퟿-�𐀀-􏿿\r\n\t]*

Parameters:
topicARN - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.

withTopicARN

public PutNotificationConfigurationRequest withTopicARN(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]*

Parameters:
topicARN - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
Returns:
A reference to this updated object so that method calls can be chained together.

getNotificationTypes

public List<String> getNotificationTypes()
The type of events that will trigger the notification. For more information, go to DescribeAutoScalingNotificationTypes.

Returns:
The type of events that will trigger the notification. For more information, go to DescribeAutoScalingNotificationTypes.

setNotificationTypes

public void setNotificationTypes(Collection<String> notificationTypes)
The type of events that will trigger the notification. For more information, go to DescribeAutoScalingNotificationTypes.

Parameters:
notificationTypes - The type of events that will trigger the notification. For more information, go to DescribeAutoScalingNotificationTypes.

withNotificationTypes

public PutNotificationConfigurationRequest withNotificationTypes(String... notificationTypes)
The type of events that will trigger the notification. For more information, go to DescribeAutoScalingNotificationTypes.

Returns a reference to this object so that method calls can be chained together.

Parameters:
notificationTypes - The type of events that will trigger the notification. For more information, go to DescribeAutoScalingNotificationTypes.
Returns:
A reference to this updated object so that method calls can be chained together.

withNotificationTypes

public PutNotificationConfigurationRequest withNotificationTypes(Collection<String> notificationTypes)
The type of events that will trigger the notification. For more information, go to DescribeAutoScalingNotificationTypes.

Returns a reference to this object so that method calls can be chained together.

Parameters:
notificationTypes - The type of events that will trigger the notification. For more information, go to DescribeAutoScalingNotificationTypes.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.