@Stability(value=Stable) public static final class CfnApplication.AlarmMetricProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnApplication.AlarmMetricProperty>
CfnApplication.AlarmMetricProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnApplication.AlarmMetricProperty.Builder |
alarmMetricName(String alarmMetricName)
Sets the value of
CfnApplication.AlarmMetricProperty.getAlarmMetricName() |
CfnApplication.AlarmMetricProperty |
build()
Builds the configured instance.
|
@Stability(value=Stable) public CfnApplication.AlarmMetricProperty.Builder alarmMetricName(String alarmMetricName)
CfnApplication.AlarmMetricProperty.getAlarmMetricName()alarmMetricName - The name of the metric to be monitored for the component. This parameter is required.
For metrics supported by Application Insights, see Logs and metrics supported by Amazon CloudWatch Application Insights .this@Stability(value=Stable) public CfnApplication.AlarmMetricProperty build()
build in interface software.amazon.jsii.Builder<CfnApplication.AlarmMetricProperty>CfnApplication.AlarmMetricPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.