CopyableBuilder<DescribeAlarmsForMetricResponse.Builder,DescribeAlarmsForMetricResponse>
, SdkBuilder<DescribeAlarmsForMetricResponse.Builder,DescribeAlarmsForMetricResponse>
public static interface DescribeAlarmsForMetricResponse.Builder extends CopyableBuilder<DescribeAlarmsForMetricResponse.Builder,DescribeAlarmsForMetricResponse>
Modifier and Type | Method | Description |
---|---|---|
DescribeAlarmsForMetricResponse.Builder |
metricAlarms(Collection<MetricAlarm> metricAlarms) |
The information for each alarm with the specified metric.
|
DescribeAlarmsForMetricResponse.Builder |
metricAlarms(MetricAlarm... metricAlarms) |
The information for each alarm with the specified metric.
|
copy
apply, build
DescribeAlarmsForMetricResponse.Builder metricAlarms(Collection<MetricAlarm> metricAlarms)
The information for each alarm with the specified metric.
metricAlarms
- The information for each alarm with the specified metric.DescribeAlarmsForMetricResponse.Builder metricAlarms(MetricAlarm... metricAlarms)
The information for each alarm with the specified metric.
NOTE: This method appends the values to the existing list (if any). Use
#setMetricAlarms(java.util.Collection)
or #withMetricAlarms(java.util.Collection)
if you want
to override the existing values.
metricAlarms
- The information for each alarm with the specified metric.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.