@Stability(value=Stable) public static final class CfnBudget.NotificationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBudget.NotificationProperty>
CfnBudget.NotificationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnBudget.NotificationProperty |
build()
Builds the configured instance.
|
CfnBudget.NotificationProperty.Builder |
comparisonOperator(String comparisonOperator)
Sets the value of
CfnBudget.NotificationProperty.getComparisonOperator() |
CfnBudget.NotificationProperty.Builder |
notificationType(String notificationType)
Sets the value of
CfnBudget.NotificationProperty.getNotificationType() |
CfnBudget.NotificationProperty.Builder |
threshold(Number threshold)
Sets the value of
CfnBudget.NotificationProperty.getThreshold() |
CfnBudget.NotificationProperty.Builder |
thresholdType(String thresholdType)
Sets the value of
CfnBudget.NotificationProperty.getThresholdType() |
@Stability(value=Stable) public CfnBudget.NotificationProperty.Builder comparisonOperator(String comparisonOperator)
CfnBudget.NotificationProperty.getComparisonOperator()comparisonOperator - The comparison that's used for this notification. This parameter is required.this@Stability(value=Stable) public CfnBudget.NotificationProperty.Builder notificationType(String notificationType)
CfnBudget.NotificationProperty.getNotificationType()notificationType - Specifies whether the notification is for how much you have spent ( `ACTUAL` ) or for how much that you're forecasted to spend ( `FORECASTED` ). This parameter is required.this@Stability(value=Stable) public CfnBudget.NotificationProperty.Builder threshold(Number threshold)
CfnBudget.NotificationProperty.getThreshold()threshold - The threshold that's associated with a notification. This parameter is required.
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.this@Stability(value=Stable) public CfnBudget.NotificationProperty.Builder thresholdType(String thresholdType)
CfnBudget.NotificationProperty.getThresholdType()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.this@Stability(value=Stable) public CfnBudget.NotificationProperty build()
build in interface software.amazon.jsii.Builder<CfnBudget.NotificationProperty>CfnBudget.NotificationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.