@Stability(value=Stable) public static final class CfnAlarm.MetricDataQueryProperty.Builder extends Object
CfnAlarm.MetricDataQueryProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAlarm.MetricDataQueryProperty |
build()
Builds the configured instance.
|
CfnAlarm.MetricDataQueryProperty.Builder |
withExpression(String value)
Sets the value of Expression
|
CfnAlarm.MetricDataQueryProperty.Builder |
withId(String value)
Sets the value of Id
|
CfnAlarm.MetricDataQueryProperty.Builder |
withLabel(String value)
Sets the value of Label
|
CfnAlarm.MetricDataQueryProperty.Builder |
withMetricStat(CfnAlarm.MetricStatProperty value)
Sets the value of MetricStat
|
CfnAlarm.MetricDataQueryProperty.Builder |
withMetricStat(software.amazon.awscdk.core.IResolvable value)
Sets the value of MetricStat
|
CfnAlarm.MetricDataQueryProperty.Builder |
withReturnData(Boolean value)
Sets the value of ReturnData
|
CfnAlarm.MetricDataQueryProperty.Builder |
withReturnData(software.amazon.awscdk.core.IResolvable value)
Sets the value of ReturnData
|
@Stability(value=Stable) public CfnAlarm.MetricDataQueryProperty.Builder withId(String value)
value - `CfnAlarm.MetricDataQueryProperty.Id`.this@Stability(value=Stable) public CfnAlarm.MetricDataQueryProperty.Builder withExpression(@Nullable String value)
value - `CfnAlarm.MetricDataQueryProperty.Expression`.this@Stability(value=Stable) public CfnAlarm.MetricDataQueryProperty.Builder withLabel(@Nullable String value)
value - `CfnAlarm.MetricDataQueryProperty.Label`.this@Stability(value=Stable) public CfnAlarm.MetricDataQueryProperty.Builder withMetricStat(@Nullable software.amazon.awscdk.core.IResolvable value)
value - `CfnAlarm.MetricDataQueryProperty.MetricStat`.this@Stability(value=Stable) public CfnAlarm.MetricDataQueryProperty.Builder withMetricStat(@Nullable CfnAlarm.MetricStatProperty value)
value - `CfnAlarm.MetricDataQueryProperty.MetricStat`.this@Stability(value=Stable) public CfnAlarm.MetricDataQueryProperty.Builder withReturnData(@Nullable Boolean value)
value - `CfnAlarm.MetricDataQueryProperty.ReturnData`.this@Stability(value=Stable) public CfnAlarm.MetricDataQueryProperty.Builder withReturnData(@Nullable software.amazon.awscdk.core.IResolvable value)
value - `CfnAlarm.MetricDataQueryProperty.ReturnData`.this@Stability(value=Stable) public CfnAlarm.MetricDataQueryProperty build()
CfnAlarm.MetricDataQueryPropertyNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.