@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutNotificationConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutNotificationConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
PutNotificationConfigurationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the Auto Scaling group.
|
List<String> |
getNotificationTypes()
The type of event that will cause the notification to be sent.
|
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 event that will cause the notification to be sent.
|
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 event that will cause the notification to be sent.
|
PutNotificationConfigurationRequest |
withNotificationTypes(String... notificationTypes)
The type of event that will cause the notification to be sent.
|
PutNotificationConfigurationRequest |
withTopicARN(String topicARN)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.public String getAutoScalingGroupName()
The name of the Auto Scaling group.
public PutNotificationConfigurationRequest withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.public void setTopicARN(String topicARN)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
topicARN
- The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.public String getTopicARN()
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
public PutNotificationConfigurationRequest withTopicARN(String topicARN)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
topicARN
- The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.public List<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.
public void setNotificationTypes(Collection<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(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.
NOTE: This method appends the values to the existing list (if any). Use
setNotificationTypes(java.util.Collection)
or withNotificationTypes(java.util.Collection)
if
you want to override the existing values.
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(Collection<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 String toString()
toString
in class Object
Object.toString()
public PutNotificationConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.