@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 causes the notification to be sent.
|
String |
getTopicARN()
The Amazon Resource Name (ARN) of the Amazon 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 causes the notification to be sent.
|
void |
setTopicARN(String topicARN)
The Amazon Resource Name (ARN) of the Amazon SNS topic.
|
String |
toString()
Returns a string representation of this object.
|
PutNotificationConfigurationRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
PutNotificationConfigurationRequest |
withNotificationTypes(Collection<String> notificationTypes)
The type of event that causes the notification to be sent.
|
PutNotificationConfigurationRequest |
withNotificationTypes(String... notificationTypes)
The type of event that causes the notification to be sent.
|
PutNotificationConfigurationRequest |
withTopicARN(String topicARN)
The Amazon Resource Name (ARN) of the Amazon 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 SNS topic.
topicARN
- The Amazon Resource Name (ARN) of the Amazon SNS topic.public String getTopicARN()
The Amazon Resource Name (ARN) of the Amazon SNS topic.
public PutNotificationConfigurationRequest withTopicARN(String topicARN)
The Amazon Resource Name (ARN) of the Amazon SNS topic.
topicARN
- The Amazon Resource Name (ARN) of the Amazon SNS topic.public List<String> getNotificationTypes()
The type of event that causes the notification to be sent. To query the notification types supported by Amazon EC2 Auto Scaling, call the DescribeAutoScalingNotificationTypes API.
public void setNotificationTypes(Collection<String> notificationTypes)
The type of event that causes the notification to be sent. To query the notification types supported by Amazon EC2 Auto Scaling, call the DescribeAutoScalingNotificationTypes API.
notificationTypes
- The type of event that causes the notification to be sent. To query the notification types supported by
Amazon EC2 Auto Scaling, call the DescribeAutoScalingNotificationTypes API.public PutNotificationConfigurationRequest withNotificationTypes(String... notificationTypes)
The type of event that causes the notification to be sent. To query the notification types supported by Amazon EC2 Auto Scaling, call the DescribeAutoScalingNotificationTypes API.
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 causes the notification to be sent. To query the notification types supported by
Amazon EC2 Auto Scaling, call the DescribeAutoScalingNotificationTypes API.public PutNotificationConfigurationRequest withNotificationTypes(Collection<String> notificationTypes)
The type of event that causes the notification to be sent. To query the notification types supported by Amazon EC2 Auto Scaling, call the DescribeAutoScalingNotificationTypes API.
notificationTypes
- The type of event that causes the notification to be sent. To query the notification types supported by
Amazon EC2 Auto Scaling, call the DescribeAutoScalingNotificationTypes API.public String toString()
toString
in class Object
Object.toString()
public PutNotificationConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()