CopyableBuilder<DescribeAlarmsForMetricRequest.Builder,DescribeAlarmsForMetricRequest>
, SdkBuilder<DescribeAlarmsForMetricRequest.Builder,DescribeAlarmsForMetricRequest>
public static interface DescribeAlarmsForMetricRequest.Builder extends CopyableBuilder<DescribeAlarmsForMetricRequest.Builder,DescribeAlarmsForMetricRequest>
Modifier and Type | Method | Description |
---|---|---|
DescribeAlarmsForMetricRequest.Builder |
dimensions(Collection<Dimension> dimensions) |
The dimensions associated with the metric.
|
DescribeAlarmsForMetricRequest.Builder |
dimensions(Dimension... dimensions) |
The dimensions associated with the metric.
|
DescribeAlarmsForMetricRequest.Builder |
extendedStatistic(String extendedStatistic) |
The percentile statistic for the metric.
|
DescribeAlarmsForMetricRequest.Builder |
metricName(String metricName) |
The name of the metric.
|
DescribeAlarmsForMetricRequest.Builder |
namespace(String namespace) |
The namespace of the metric.
|
DescribeAlarmsForMetricRequest.Builder |
period(Integer period) |
The period, in seconds, over which the statistic is applied.
|
DescribeAlarmsForMetricRequest.Builder |
statistic(String statistic) |
The statistic for the metric, other than percentiles.
|
DescribeAlarmsForMetricRequest.Builder |
statistic(Statistic statistic) |
The statistic for the metric, other than percentiles.
|
DescribeAlarmsForMetricRequest.Builder |
unit(String unit) |
The unit for the metric.
|
DescribeAlarmsForMetricRequest.Builder |
unit(StandardUnit unit) |
The unit for the metric.
|
copy
apply, build
DescribeAlarmsForMetricRequest.Builder metricName(String metricName)
The name of the metric.
metricName
- The name of the metric.DescribeAlarmsForMetricRequest.Builder namespace(String namespace)
The namespace of the metric.
namespace
- The namespace of the metric.DescribeAlarmsForMetricRequest.Builder statistic(String statistic)
The statistic for the metric, other than percentiles. For percentile statistics, use
ExtendedStatistics
.
statistic
- The statistic for the metric, other than percentiles. For percentile statistics, use
ExtendedStatistics
.Statistic
DescribeAlarmsForMetricRequest.Builder statistic(Statistic statistic)
The statistic for the metric, other than percentiles. For percentile statistics, use
ExtendedStatistics
.
statistic
- The statistic for the metric, other than percentiles. For percentile statistics, use
ExtendedStatistics
.Statistic
DescribeAlarmsForMetricRequest.Builder extendedStatistic(String extendedStatistic)
The percentile statistic for the metric. Specify a value between p0.0 and p100.
extendedStatistic
- The percentile statistic for the metric. Specify a value between p0.0 and p100.DescribeAlarmsForMetricRequest.Builder dimensions(Collection<Dimension> dimensions)
The dimensions associated with the metric. If the metric has any associated dimensions, you must specify them in order for the call to succeed.
dimensions
- The dimensions associated with the metric. If the metric has any associated dimensions, you must
specify them in order for the call to succeed.DescribeAlarmsForMetricRequest.Builder dimensions(Dimension... dimensions)
The dimensions associated with the metric. If the metric has any associated dimensions, you must specify them in order for the call to succeed.
NOTE: This method appends the values to the existing list (if any). Use
#setDimensions(java.util.Collection)
or #withDimensions(java.util.Collection)
if you want to
override the existing values.
dimensions
- The dimensions associated with the metric. If the metric has any associated dimensions, you must
specify them in order for the call to succeed.DescribeAlarmsForMetricRequest.Builder period(Integer period)
The period, in seconds, over which the statistic is applied.
period
- The period, in seconds, over which the statistic is applied.DescribeAlarmsForMetricRequest.Builder unit(String unit)
The unit for the metric.
unit
- The unit for the metric.StandardUnit
DescribeAlarmsForMetricRequest.Builder unit(StandardUnit unit)
The unit for the metric.
unit
- The unit for the metric.StandardUnit
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.