public static final class NotificationConfiguration.Builder
extends java.lang.Object
NotificationConfiguration
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
NotificationConfiguration |
build()
Builds the configured instance.
|
NotificationConfiguration.Builder |
scalingEvents(ScalingEvents scalingEvents)
Sets the value of
NotificationConfiguration.getScalingEvents() |
NotificationConfiguration.Builder |
topic(ITopic topic)
Sets the value of
NotificationConfiguration.getTopic() |
public NotificationConfiguration.Builder topic(ITopic topic)
NotificationConfiguration.getTopic()
topic
- SNS topic to send notifications about fleet scaling events. This parameter is required.this
public NotificationConfiguration.Builder scalingEvents(ScalingEvents scalingEvents)
NotificationConfiguration.getScalingEvents()
scalingEvents
- Which fleet scaling events triggers a notification.this
public NotificationConfiguration build()
NotificationConfiguration
java.lang.NullPointerException
- if any required attribute was not provided