public static interface DescribeAlarmsForMetricRequest.Builder extends CloudWatchRequest.Builder, CopyableBuilder<DescribeAlarmsForMetricRequest.Builder,DescribeAlarmsForMetricRequest>
Modifier and Type | Method and 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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
DescribeAlarmsForMetricRequest.Builder |
statistic(Statistic statistic)
The statistic for the metric, other than percentiles.
|
DescribeAlarmsForMetricRequest.Builder |
statistic(String statistic)
The statistic for the metric, other than percentiles.
|
DescribeAlarmsForMetricRequest.Builder |
unit(StandardUnit unit)
The unit for the metric.
|
DescribeAlarmsForMetricRequest.Builder |
unit(String unit)
The unit for the metric.
|
build
requestOverrideConfig, requestOverrideConfig
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
.
DescribeAlarmsForMetricRequest.Builder statistic(Statistic statistic)
The statistic for the metric, other than percentiles. For percentile statistics, use
ExtendedStatistics
.
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.
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
,
StandardUnit
DescribeAlarmsForMetricRequest.Builder unit(StandardUnit unit)
The unit for the metric.
unit
- The unit for the metric.StandardUnit
,
StandardUnit
DescribeAlarmsForMetricRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.