public static interface CloudWatchMetricsDetail.Builder extends SdkPojo, CopyableBuilder<CloudWatchMetricsDetail.Builder,CloudWatchMetricsDetail>
| Modifier and Type | Method and Description |
|---|---|
CloudWatchMetricsDetail.Builder |
dimensions(CloudWatchMetricsDimension... dimensions)
An array of CloudWatch dimensions associated with
|
CloudWatchMetricsDetail.Builder |
dimensions(Collection<CloudWatchMetricsDimension> dimensions)
An array of CloudWatch dimensions associated with
|
CloudWatchMetricsDetail.Builder |
dimensions(Consumer<CloudWatchMetricsDimension.Builder>... dimensions)
An array of CloudWatch dimensions associated with
|
CloudWatchMetricsDetail.Builder |
metricName(String metricName)
The name of the CloudWatch metric.
|
CloudWatchMetricsDetail.Builder |
namespace(String namespace)
The namespace of the CloudWatch metric.
|
CloudWatchMetricsDetail.Builder |
period(Integer period)
The length of time associated with the CloudWatch metric in number of seconds.
|
CloudWatchMetricsDetail.Builder |
stat(CloudWatchMetricsStat stat)
The type of statistic associated with the CloudWatch metric.
|
CloudWatchMetricsDetail.Builder |
stat(String stat)
The type of statistic associated with the CloudWatch metric.
|
CloudWatchMetricsDetail.Builder |
unit(String unit)
The unit of measure used for the CloudWatch metric.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCloudWatchMetricsDetail.Builder metricName(String metricName)
The name of the CloudWatch metric.
metricName - The name of the CloudWatch metric.CloudWatchMetricsDetail.Builder namespace(String namespace)
The namespace of the CloudWatch metric. A namespace is a container for CloudWatch metrics.
namespace - The namespace of the CloudWatch metric. A namespace is a container for CloudWatch metrics.CloudWatchMetricsDetail.Builder dimensions(Collection<CloudWatchMetricsDimension> dimensions)
An array of CloudWatch dimensions associated with
dimensions - An array of CloudWatch dimensions associated withCloudWatchMetricsDetail.Builder dimensions(CloudWatchMetricsDimension... dimensions)
An array of CloudWatch dimensions associated with
dimensions - An array of CloudWatch dimensions associated withCloudWatchMetricsDetail.Builder dimensions(Consumer<CloudWatchMetricsDimension.Builder>... dimensions)
An array of CloudWatch dimensions associated with
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #dimensions(List) .dimensions - a consumer that will call methods on List.Builder #dimensions(List) CloudWatchMetricsDetail.Builder stat(String stat)
The type of statistic associated with the CloudWatch metric. For more information, see Statistics in the Amazon CloudWatch User Guide.
stat - The type of statistic associated with the CloudWatch metric. For more information, see Statistics in the Amazon CloudWatch User Guide.CloudWatchMetricsStat,
CloudWatchMetricsStatCloudWatchMetricsDetail.Builder stat(CloudWatchMetricsStat stat)
The type of statistic associated with the CloudWatch metric. For more information, see Statistics in the Amazon CloudWatch User Guide.
stat - The type of statistic associated with the CloudWatch metric. For more information, see Statistics in the Amazon CloudWatch User Guide.CloudWatchMetricsStat,
CloudWatchMetricsStatCloudWatchMetricsDetail.Builder unit(String unit)
The unit of measure used for the CloudWatch metric. For example, Bytes, Seconds,
Count, and Percent.
unit - The unit of measure used for the CloudWatch metric. For example, Bytes,
Seconds, Count, and Percent.CloudWatchMetricsDetail.Builder period(Integer period)
The length of time associated with the CloudWatch metric in number of seconds.
period - The length of time associated with the CloudWatch metric in number of seconds.Copyright © 2021. All rights reserved.