Class NotificationConfiguration
- All Implemented Interfaces:
Serializable, Cloneable
Describes a notification.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe name of the group.One of the following event notification types:The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.inthashCode()voidsetAutoScalingGroupName(String autoScalingGroupName) The name of the group.voidsetNotificationType(String notificationType) One of the following event notification types:voidsetTopicARN(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
-
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
-
equals
-
hashCode
-
clone
-