public static interface Notification.Builder extends SdkPojo, CopyableBuilder<Notification.Builder,Notification>
Modifier and Type | Method and Description |
---|---|
Notification.Builder |
comparisonOperator(ComparisonOperator comparisonOperator)
The comparison that is used for this notification.
|
Notification.Builder |
comparisonOperator(String comparisonOperator)
The comparison that is used for this notification.
|
Notification.Builder |
notificationState(NotificationState notificationState)
Whether this notification is in alarm.
|
Notification.Builder |
notificationState(String notificationState)
Whether this notification is in alarm.
|
Notification.Builder |
notificationType(NotificationType notificationType)
Whether the notification is for how much you have spent (
ACTUAL ) or for how much you're
forecasted to spend (FORECASTED ). |
Notification.Builder |
notificationType(String notificationType)
Whether the notification is for how much you have spent (
ACTUAL ) or for how much you're
forecasted to spend (FORECASTED ). |
Notification.Builder |
threshold(Double threshold)
The threshold that is associated with a notification.
|
Notification.Builder |
thresholdType(String thresholdType)
The type of threshold for a notification.
|
Notification.Builder |
thresholdType(ThresholdType thresholdType)
The type of threshold for a notification.
|
copy
applyMutation, build
Notification.Builder notificationType(String notificationType)
Whether the notification is for how much you have spent (ACTUAL
) or for how much you're
forecasted to spend (FORECASTED
).
notificationType
- Whether the notification is for how much you have spent (ACTUAL
) or for how much you're
forecasted to spend (FORECASTED
).NotificationType
,
NotificationType
Notification.Builder notificationType(NotificationType notificationType)
Whether the notification is for how much you have spent (ACTUAL
) or for how much you're
forecasted to spend (FORECASTED
).
notificationType
- Whether the notification is for how much you have spent (ACTUAL
) or for how much you're
forecasted to spend (FORECASTED
).NotificationType
,
NotificationType
Notification.Builder comparisonOperator(String comparisonOperator)
The comparison that is used for this notification.
comparisonOperator
- The comparison that is used for this notification.ComparisonOperator
,
ComparisonOperator
Notification.Builder comparisonOperator(ComparisonOperator comparisonOperator)
The comparison that is used for this notification.
comparisonOperator
- The comparison that is used for this notification.ComparisonOperator
,
ComparisonOperator
Notification.Builder threshold(Double threshold)
The threshold that is associated with a notification. Thresholds are always a percentage.
threshold
- The threshold that is associated with a notification. Thresholds are always a percentage.Notification.Builder thresholdType(String thresholdType)
The type of threshold for a notification. For ABSOLUTE_VALUE
thresholds, AWS notifies you when
you go over or are forecasted to go over your total cost threshold. For PERCENTAGE
thresholds,
AWS notifies you when you go over or are forecasted to go over a certain percentage of your forecasted spend.
For example, if you have a budget for 200 dollars and you have a PERCENTAGE
threshold of 80%,
AWS notifies you when you go over 160 dollars.
thresholdType
- The type of threshold for a notification. For ABSOLUTE_VALUE
thresholds, AWS notifies you
when you go over or are forecasted to go over your total cost threshold. For PERCENTAGE
thresholds, AWS notifies you when you go over or are forecasted to go over a certain percentage of
your forecasted spend. For example, if you have a budget for 200 dollars and you have a
PERCENTAGE
threshold of 80%, AWS notifies you when you go over 160 dollars.ThresholdType
,
ThresholdType
Notification.Builder thresholdType(ThresholdType thresholdType)
The type of threshold for a notification. For ABSOLUTE_VALUE
thresholds, AWS notifies you when
you go over or are forecasted to go over your total cost threshold. For PERCENTAGE
thresholds,
AWS notifies you when you go over or are forecasted to go over a certain percentage of your forecasted spend.
For example, if you have a budget for 200 dollars and you have a PERCENTAGE
threshold of 80%,
AWS notifies you when you go over 160 dollars.
thresholdType
- The type of threshold for a notification. For ABSOLUTE_VALUE
thresholds, AWS notifies you
when you go over or are forecasted to go over your total cost threshold. For PERCENTAGE
thresholds, AWS notifies you when you go over or are forecasted to go over a certain percentage of
your forecasted spend. For example, if you have a budget for 200 dollars and you have a
PERCENTAGE
threshold of 80%, AWS notifies you when you go over 160 dollars.ThresholdType
,
ThresholdType
Notification.Builder notificationState(String notificationState)
Whether this notification is in alarm. If a budget notification is in the ALARM
state, you have
passed the set threshold for the budget.
notificationState
- Whether this notification is in alarm. If a budget notification is in the ALARM
state,
you have passed the set threshold for the budget.NotificationState
,
NotificationState
Notification.Builder notificationState(NotificationState notificationState)
Whether this notification is in alarm. If a budget notification is in the ALARM
state, you have
passed the set threshold for the budget.
notificationState
- Whether this notification is in alarm. If a budget notification is in the ALARM
state,
you have passed the set threshold for the budget.NotificationState
,
NotificationState
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.