Interface Notification.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Notification.Builder,Notification>,SdkBuilder<Notification.Builder,Notification>,SdkPojo
- Enclosing class:
- Notification
public static interface Notification.Builder extends SdkPojo, CopyableBuilder<Notification.Builder,Notification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Notification.BuildercomparisonOperator(String comparisonOperator)The comparison that's used for this notification.Notification.BuildercomparisonOperator(ComparisonOperator comparisonOperator)The comparison that's used for this notification.Notification.BuildernotificationState(String notificationState)Specifies whether this notification is in alarm.Notification.BuildernotificationState(NotificationState notificationState)Specifies whether this notification is in alarm.Notification.BuildernotificationType(String notificationType)Specifies whether the notification is for how much you have spent (ACTUAL) or for how much that you're forecasted to spend (FORECASTED).Notification.BuildernotificationType(NotificationType notificationType)Specifies whether the notification is for how much you have spent (ACTUAL) or for how much that you're forecasted to spend (FORECASTED).Notification.Builderthreshold(Double threshold)The threshold that's associated with a notification.Notification.BuilderthresholdType(String thresholdType)The type of threshold for a notification.Notification.BuilderthresholdType(ThresholdType thresholdType)The type of threshold for a notification.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
notificationType
Notification.Builder notificationType(String notificationType)
Specifies whether the notification is for how much you have spent (
ACTUAL) or for how much that you're forecasted to spend (FORECASTED).- Parameters:
notificationType- Specifies whether the notification is for how much you have spent (ACTUAL) or for how much that you're forecasted to spend (FORECASTED).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NotificationType,NotificationType
-
notificationType
Notification.Builder notificationType(NotificationType notificationType)
Specifies whether the notification is for how much you have spent (
ACTUAL) or for how much that you're forecasted to spend (FORECASTED).- Parameters:
notificationType- Specifies whether the notification is for how much you have spent (ACTUAL) or for how much that you're forecasted to spend (FORECASTED).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NotificationType,NotificationType
-
comparisonOperator
Notification.Builder comparisonOperator(String comparisonOperator)
The comparison that's used for this notification.
- Parameters:
comparisonOperator- The comparison that's used for this notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ComparisonOperator,ComparisonOperator
-
comparisonOperator
Notification.Builder comparisonOperator(ComparisonOperator comparisonOperator)
The comparison that's used for this notification.
- Parameters:
comparisonOperator- The comparison that's used for this notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ComparisonOperator,ComparisonOperator
-
threshold
Notification.Builder threshold(Double threshold)
The threshold that's associated with a notification. Thresholds are always a percentage, and many customers find value being alerted between 50% - 200% of the budgeted amount. The maximum limit for your threshold is 1,000,000% above the budgeted amount.
- Parameters:
threshold- The threshold that's associated with a notification. Thresholds are always a percentage, and many customers find value being alerted between 50% - 200% of the budgeted amount. The maximum limit for your threshold is 1,000,000% above the budgeted amount.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thresholdType
Notification.Builder thresholdType(String thresholdType)
The type of threshold for a notification. For
ABSOLUTE_VALUEthresholds, Amazon Web Services notifies you when you go over or are forecasted to go over your total cost threshold. ForPERCENTAGEthresholds, Amazon Web Services 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 aPERCENTAGEthreshold of 80%, Amazon Web Services notifies you when you go over 160 dollars.- Parameters:
thresholdType- The type of threshold for a notification. ForABSOLUTE_VALUEthresholds, Amazon Web Services notifies you when you go over or are forecasted to go over your total cost threshold. ForPERCENTAGEthresholds, Amazon Web Services 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 aPERCENTAGEthreshold of 80%, Amazon Web Services notifies you when you go over 160 dollars.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ThresholdType,ThresholdType
-
thresholdType
Notification.Builder thresholdType(ThresholdType thresholdType)
The type of threshold for a notification. For
ABSOLUTE_VALUEthresholds, Amazon Web Services notifies you when you go over or are forecasted to go over your total cost threshold. ForPERCENTAGEthresholds, Amazon Web Services 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 aPERCENTAGEthreshold of 80%, Amazon Web Services notifies you when you go over 160 dollars.- Parameters:
thresholdType- The type of threshold for a notification. ForABSOLUTE_VALUEthresholds, Amazon Web Services notifies you when you go over or are forecasted to go over your total cost threshold. ForPERCENTAGEthresholds, Amazon Web Services 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 aPERCENTAGEthreshold of 80%, Amazon Web Services notifies you when you go over 160 dollars.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ThresholdType,ThresholdType
-
notificationState
Notification.Builder notificationState(String notificationState)
Specifies whether this notification is in alarm. If a budget notification is in the
ALARMstate, you passed the set threshold for the budget.- Parameters:
notificationState- Specifies whether this notification is in alarm. If a budget notification is in theALARMstate, you passed the set threshold for the budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NotificationState,NotificationState
-
notificationState
Notification.Builder notificationState(NotificationState notificationState)
Specifies whether this notification is in alarm. If a budget notification is in the
ALARMstate, you passed the set threshold for the budget.- Parameters:
notificationState- Specifies whether this notification is in alarm. If a budget notification is in theALARMstate, you passed the set threshold for the budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NotificationState,NotificationState
-
-