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 Details

    • 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

      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:
    • 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

      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:
    • 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_VALUE thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over your total cost threshold. For PERCENTAGE thresholds, 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 a PERCENTAGE threshold of 80%, Amazon Web Services notifies you when you go over 160 dollars.

      Parameters:
      thresholdType - The type of threshold for a notification. For ABSOLUTE_VALUE thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over your total cost threshold. For PERCENTAGE thresholds, 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 a PERCENTAGE threshold 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

      Notification.Builder thresholdType(ThresholdType thresholdType)

      The type of threshold for a notification. For ABSOLUTE_VALUE thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over your total cost threshold. For PERCENTAGE thresholds, 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 a PERCENTAGE threshold of 80%, Amazon Web Services notifies you when you go over 160 dollars.

      Parameters:
      thresholdType - The type of threshold for a notification. For ABSOLUTE_VALUE thresholds, Amazon Web Services notifies you when you go over or are forecasted to go over your total cost threshold. For PERCENTAGE thresholds, 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 a PERCENTAGE threshold 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:
    • notificationState

      Notification.Builder notificationState(String notificationState)

      Specifies whether this notification is in alarm. If a budget notification is in the ALARM state, you passed the set threshold for the budget.

      Parameters:
      notificationState - Specifies whether this notification is in alarm. If a budget notification is in the ALARM state, 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

      Notification.Builder notificationState(NotificationState notificationState)

      Specifies whether this notification is in alarm. If a budget notification is in the ALARM state, you passed the set threshold for the budget.

      Parameters:
      notificationState - Specifies whether this notification is in alarm. If a budget notification is in the ALARM state, 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: