Class NotificationConfiguration
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a notification.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The name of the group.One of the following event notification types:The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.int
hashCode()
void
setAutoScalingGroupName
(String autoScalingGroupName) The name of the group.void
setNotificationType
(String notificationType) One of the following event notification types:void
setTopicARN
(String topicARN) The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.toString()
Returns a string representation of this object; useful for testing and debugging.withAutoScalingGroupName
(String autoScalingGroupName) The name of the group.withNotificationType
(String notificationType) One of the following event notification types:withTopicARN
(String topicARN) The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
-
Constructor Details
-
NotificationConfiguration
public NotificationConfiguration()
-
-
Method Details
-
setAutoScalingGroupName
The name of the group.
- Parameters:
autoScalingGroupName
- The name of the group.
-
getAutoScalingGroupName
The name of the group.
- Returns:
- The name of the group.
-
withAutoScalingGroupName
The name of the group.
- Parameters:
autoScalingGroupName
- The name of the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTopicARN
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
- Parameters:
topicARN
- The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
-
getTopicARN
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
- Returns:
- The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
-
withTopicARN
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
- Parameters:
topicARN
- The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNotificationType
One of the following event notification types:
-
autoscaling:EC2_INSTANCE_LAUNCH
-
autoscaling:EC2_INSTANCE_LAUNCH_ERROR
-
autoscaling:EC2_INSTANCE_TERMINATE
-
autoscaling:EC2_INSTANCE_TERMINATE_ERROR
-
autoscaling:TEST_NOTIFICATION
- Parameters:
notificationType
- One of the following event notification types:-
autoscaling:EC2_INSTANCE_LAUNCH
-
autoscaling:EC2_INSTANCE_LAUNCH_ERROR
-
autoscaling:EC2_INSTANCE_TERMINATE
-
autoscaling:EC2_INSTANCE_TERMINATE_ERROR
-
autoscaling:TEST_NOTIFICATION
-
-
-
getNotificationType
One of the following event notification types:
-
autoscaling:EC2_INSTANCE_LAUNCH
-
autoscaling:EC2_INSTANCE_LAUNCH_ERROR
-
autoscaling:EC2_INSTANCE_TERMINATE
-
autoscaling:EC2_INSTANCE_TERMINATE_ERROR
-
autoscaling:TEST_NOTIFICATION
- Returns:
- One of the following event notification types:
-
autoscaling:EC2_INSTANCE_LAUNCH
-
autoscaling:EC2_INSTANCE_LAUNCH_ERROR
-
autoscaling:EC2_INSTANCE_TERMINATE
-
autoscaling:EC2_INSTANCE_TERMINATE_ERROR
-
autoscaling:TEST_NOTIFICATION
-
-
-
withNotificationType
One of the following event notification types:
-
autoscaling:EC2_INSTANCE_LAUNCH
-
autoscaling:EC2_INSTANCE_LAUNCH_ERROR
-
autoscaling:EC2_INSTANCE_TERMINATE
-
autoscaling:EC2_INSTANCE_TERMINATE_ERROR
-
autoscaling:TEST_NOTIFICATION
- Parameters:
notificationType
- One of the following event notification types:-
autoscaling:EC2_INSTANCE_LAUNCH
-
autoscaling:EC2_INSTANCE_LAUNCH_ERROR
-
autoscaling:EC2_INSTANCE_TERMINATE
-
autoscaling:EC2_INSTANCE_TERMINATE_ERROR
-
autoscaling:TEST_NOTIFICATION
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-