public static final class CfnApplication.AlarmMetricProperty.Builder
extends java.lang.Object
CfnApplication.AlarmMetricProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnApplication.AlarmMetricProperty.Builder |
alarmMetricName(java.lang.String alarmMetricName)
Sets the value of
CfnApplication.AlarmMetricProperty.getAlarmMetricName() |
CfnApplication.AlarmMetricProperty |
build()
Builds the configured instance.
|
public CfnApplication.AlarmMetricProperty.Builder alarmMetricName(java.lang.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
public CfnApplication.AlarmMetricProperty build()
CfnApplication.AlarmMetricProperty
java.lang.NullPointerException
- if any required attribute was not provided