public static final class CfnAnomalySubscriptionProps.Builder
extends java.lang.Object
CfnAnomalySubscriptionProps
Constructor and Description |
---|
Builder() |
public CfnAnomalySubscriptionProps.Builder frequency(java.lang.String frequency)
CfnAnomalySubscriptionProps.getFrequency()
frequency
- The frequency that anomaly reports are sent over email. This parameter is required.this
public CfnAnomalySubscriptionProps.Builder monitorArnList(java.util.List<java.lang.String> monitorArnList)
CfnAnomalySubscriptionProps.getMonitorArnList()
monitorArnList
- A list of cost anomaly monitors. This parameter is required.this
public CfnAnomalySubscriptionProps.Builder subscribers(IResolvable subscribers)
CfnAnomalySubscriptionProps.getSubscribers()
subscribers
- A list of subscribers to notify. This parameter is required.this
public CfnAnomalySubscriptionProps.Builder subscribers(java.util.List<? extends java.lang.Object> subscribers)
CfnAnomalySubscriptionProps.getSubscribers()
subscribers
- A list of subscribers to notify. This parameter is required.this
public CfnAnomalySubscriptionProps.Builder subscriptionName(java.lang.String subscriptionName)
CfnAnomalySubscriptionProps.getSubscriptionName()
subscriptionName
- The name for the subscription. This parameter is required.this
public CfnAnomalySubscriptionProps.Builder threshold(java.lang.Number threshold)
CfnAnomalySubscriptionProps.getThreshold()
threshold
- The dollar value that triggers a notification if the threshold is exceeded. This parameter is required.this
public CfnAnomalySubscriptionProps.Builder resourceTags(IResolvable resourceTags)
CfnAnomalySubscriptionProps.getResourceTags()
resourceTags
- `AWS::CE::AnomalySubscription.ResourceTags`.this
public CfnAnomalySubscriptionProps.Builder resourceTags(java.util.List<? extends java.lang.Object> resourceTags)
CfnAnomalySubscriptionProps.getResourceTags()
resourceTags
- `AWS::CE::AnomalySubscription.ResourceTags`.this
public CfnAnomalySubscriptionProps build()
CfnAnomalySubscriptionProps
java.lang.NullPointerException
- if any required attribute was not provided