public static final class CfnAnomalyMonitorProps.Builder
extends java.lang.Object
CfnAnomalyMonitorProps
Constructor and Description |
---|
Builder() |
public CfnAnomalyMonitorProps.Builder monitorName(java.lang.String monitorName)
CfnAnomalyMonitorProps.getMonitorName()
monitorName
- The name of the monitor. This parameter is required.this
public CfnAnomalyMonitorProps.Builder monitorType(java.lang.String monitorType)
CfnAnomalyMonitorProps.getMonitorType()
monitorType
- The possible type values. This parameter is required.this
public CfnAnomalyMonitorProps.Builder monitorDimension(java.lang.String monitorDimension)
CfnAnomalyMonitorProps.getMonitorDimension()
monitorDimension
- The dimensions to evaluate.this
public CfnAnomalyMonitorProps.Builder monitorSpecification(java.lang.String monitorSpecification)
CfnAnomalyMonitorProps.getMonitorSpecification()
monitorSpecification
- The array of `MonitorSpecification` in JSON array format.
For instance, you can use MonitorSpecification
to specify a tag, Cost Category, or linked account for your custom anomaly monitor. For further information, see the Examples section of this page.this
public CfnAnomalyMonitorProps.Builder resourceTags(IResolvable resourceTags)
CfnAnomalyMonitorProps.getResourceTags()
resourceTags
- `AWS::CE::AnomalyMonitor.ResourceTags`.this
public CfnAnomalyMonitorProps.Builder resourceTags(java.util.List<? extends java.lang.Object> resourceTags)
CfnAnomalyMonitorProps.getResourceTags()
resourceTags
- `AWS::CE::AnomalyMonitor.ResourceTags`.this
public CfnAnomalyMonitorProps build()
CfnAnomalyMonitorProps
java.lang.NullPointerException
- if any required attribute was not provided