public class PutNotificationConfigurationRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
autoScalingGroupName
The name of the Auto Scaling group.
|
private SdkInternalList<java.lang.String> |
notificationTypes
The type of event that will cause the notification to be sent.
|
private java.lang.String |
topicARN
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service
(SNS) topic.
|
NOOP
Constructor and Description |
---|
PutNotificationConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
PutNotificationConfigurationRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String autoScalingGroupName
The name of the Auto Scaling group.
private java.lang.String topicARN
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
private SdkInternalList<java.lang.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.
public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.public java.lang.String getAutoScalingGroupName()
The name of the Auto Scaling group.
public PutNotificationConfigurationRequest withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.public void setTopicARN(java.lang.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 java.lang.String getTopicARN()
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
public PutNotificationConfigurationRequest withTopicARN(java.lang.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 java.util.List<java.lang.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(java.util.Collection<java.lang.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(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PutNotificationConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()