public static interface DescribeAlarmsForMetricRequest.Builder extends CloudWatchRequest.Builder, software.amazon.awssdk.utils.builder.CopyableBuilder<DescribeAlarmsForMetricRequest.Builder,DescribeAlarmsForMetricRequest>
build
requestOverrideConfig, requestOverrideConfig
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)
requestOverrideConfig
in interface AwsRequest.Builder
Copyright © 2018. All rights reserved.