CopyableBuilder<DescribeAlarmsResponse.Builder,DescribeAlarmsResponse>
, SdkBuilder<DescribeAlarmsResponse.Builder,DescribeAlarmsResponse>
public static interface DescribeAlarmsResponse.Builder extends CopyableBuilder<DescribeAlarmsResponse.Builder,DescribeAlarmsResponse>
Modifier and Type | Method | Description |
---|---|---|
DescribeAlarmsResponse.Builder |
metricAlarms(Collection<MetricAlarm> metricAlarms) |
The information for the specified alarms.
|
DescribeAlarmsResponse.Builder |
metricAlarms(MetricAlarm... metricAlarms) |
The information for the specified alarms.
|
DescribeAlarmsResponse.Builder |
nextToken(String nextToken) |
The token that marks the start of the next batch of returned results.
|
copy
apply, build
DescribeAlarmsResponse.Builder metricAlarms(Collection<MetricAlarm> metricAlarms)
The information for the specified alarms.
metricAlarms
- The information for the specified alarms.DescribeAlarmsResponse.Builder metricAlarms(MetricAlarm... metricAlarms)
The information for the specified alarms.
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 the specified alarms.DescribeAlarmsResponse.Builder nextToken(String nextToken)
The token that marks the start of the next batch of returned results.
nextToken
- The token that marks the start of the next batch of returned results.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.