public static interface GetMetricDataRequest.Builder extends CloudWatchRequest.Builder, CopyableBuilder<GetMetricDataRequest.Builder,GetMetricDataRequest>
| Modifier and Type | Method and Description |
|---|---|
GetMetricDataRequest.Builder |
endTime(Instant endTime)
The time stamp indicating the latest data to be returned.
|
GetMetricDataRequest.Builder |
maxDatapoints(Integer maxDatapoints)
The maximum number of data points the request should return before paginating.
|
GetMetricDataRequest.Builder |
metricDataQueries(Collection<MetricDataQuery> metricDataQueries)
The metric queries to be returned.
|
GetMetricDataRequest.Builder |
metricDataQueries(Consumer<MetricDataQuery.Builder>... metricDataQueries)
The metric queries to be returned.
|
GetMetricDataRequest.Builder |
metricDataQueries(MetricDataQuery... metricDataQueries)
The metric queries to be returned.
|
GetMetricDataRequest.Builder |
nextToken(String nextToken)
Include this value, if it was returned by the previous call, to get the next set of data points.
|
GetMetricDataRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
GetMetricDataRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
GetMetricDataRequest.Builder |
scanBy(ScanBy scanBy)
The order in which data points should be returned.
|
GetMetricDataRequest.Builder |
scanBy(String scanBy)
The order in which data points should be returned.
|
GetMetricDataRequest.Builder |
startTime(Instant startTime)
The time stamp indicating the earliest data to be returned.
|
buildoverrideConfigurationcopyapplyMutation, buildGetMetricDataRequest.Builder metricDataQueries(Collection<MetricDataQuery> metricDataQueries)
The metric queries to be returned. A single GetMetricData call can include as many as 100
MetricDataQuery structures. Each of these structures can specify either a metric to retrieve, or
a math expression to perform on retrieved data.
metricDataQueries - The metric queries to be returned. A single GetMetricData call can include as many as 100
MetricDataQuery structures. Each of these structures can specify either a metric to
retrieve, or a math expression to perform on retrieved data.GetMetricDataRequest.Builder metricDataQueries(MetricDataQuery... metricDataQueries)
The metric queries to be returned. A single GetMetricData call can include as many as 100
MetricDataQuery structures. Each of these structures can specify either a metric to retrieve, or
a math expression to perform on retrieved data.
metricDataQueries - The metric queries to be returned. A single GetMetricData call can include as many as 100
MetricDataQuery structures. Each of these structures can specify either a metric to
retrieve, or a math expression to perform on retrieved data.GetMetricDataRequest.Builder metricDataQueries(Consumer<MetricDataQuery.Builder>... metricDataQueries)
The metric queries to be returned. A single GetMetricData call can include as many as 100
MetricDataQuery structures. Each of these structures can specify either a metric to retrieve, or
a math expression to perform on retrieved data.
List.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 #metricDataQueries(List) .metricDataQueries - a consumer that will call methods on List.Builder #metricDataQueries(List) GetMetricDataRequest.Builder startTime(Instant startTime)
The time stamp indicating the earliest data to be returned.
startTime - The time stamp indicating the earliest data to be returned.GetMetricDataRequest.Builder endTime(Instant endTime)
The time stamp indicating the latest data to be returned.
endTime - The time stamp indicating the latest data to be returned.GetMetricDataRequest.Builder nextToken(String nextToken)
Include this value, if it was returned by the previous call, to get the next set of data points.
nextToken - Include this value, if it was returned by the previous call, to get the next set of data points.GetMetricDataRequest.Builder scanBy(String scanBy)
The order in which data points should be returned. TimestampDescending returns the newest data
first and paginates when the MaxDatapoints limit is reached. TimestampAscending
returns the oldest data first and paginates when the MaxDatapoints limit is reached.
scanBy - The order in which data points should be returned. TimestampDescending returns the newest
data first and paginates when the MaxDatapoints limit is reached.
TimestampAscending returns the oldest data first and paginates when the
MaxDatapoints limit is reached.ScanBy,
ScanByGetMetricDataRequest.Builder scanBy(ScanBy scanBy)
The order in which data points should be returned. TimestampDescending returns the newest data
first and paginates when the MaxDatapoints limit is reached. TimestampAscending
returns the oldest data first and paginates when the MaxDatapoints limit is reached.
scanBy - The order in which data points should be returned. TimestampDescending returns the newest
data first and paginates when the MaxDatapoints limit is reached.
TimestampAscending returns the oldest data first and paginates when the
MaxDatapoints limit is reached.ScanBy,
ScanByGetMetricDataRequest.Builder maxDatapoints(Integer maxDatapoints)
The maximum number of data points the request should return before paginating. If you omit this, the default of 100,800 is used.
maxDatapoints - The maximum number of data points the request should return before paginating. If you omit this, the
default of 100,800 is used.GetMetricDataRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.GetMetricDataRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.