public static interface GetMetricDataResponse.Builder extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<GetMetricDataResponse.Builder,GetMetricDataResponse>
Modifier and Type | Method and Description |
---|---|
GetMetricDataResponse.Builder |
metricResults(Collection<HistoricalMetricResult> metricResults)
A list of
HistoricalMetricResult objects, organized by Dimensions , which is the ID
of the resource specified in the Filters used for the request. |
GetMetricDataResponse.Builder |
metricResults(Consumer<HistoricalMetricResult.Builder>... metricResults)
A list of
HistoricalMetricResult objects, organized by Dimensions , which is the ID
of the resource specified in the Filters used for the request. |
GetMetricDataResponse.Builder |
metricResults(HistoricalMetricResult... metricResults)
A list of
HistoricalMetricResult objects, organized by Dimensions , which is the ID
of the resource specified in the Filters used for the request. |
GetMetricDataResponse.Builder |
nextToken(String nextToken)
A string returned in the response.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetMetricDataResponse.Builder nextToken(String nextToken)
A string returned in the response. Use the value returned in the response as the value of the NextToken in a subsequent request to retrieve the next set of results.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the NextToken must use the same request parameters as the request that generated the token.
nextToken
- A string returned in the response. Use the value returned in the response as the value of the
NextToken in a subsequent request to retrieve the next set of results.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the NextToken must use the same request parameters as the request that generated the token.
GetMetricDataResponse.Builder metricResults(Collection<HistoricalMetricResult> metricResults)
A list of HistoricalMetricResult
objects, organized by Dimensions
, which is the ID
of the resource specified in the Filters
used for the request. The metrics are combined with the
metrics included in Collections
, which is a list of HisotricalMetricData
objects.
If no Grouping
is specified in the request, Collections
includes summary data for
the HistoricalMetrics
.
metricResults
- A list of HistoricalMetricResult
objects, organized by Dimensions
, which is
the ID of the resource specified in the Filters
used for the request. The metrics are
combined with the metrics included in Collections
, which is a list of
HisotricalMetricData
objects.
If no Grouping
is specified in the request, Collections
includes summary
data for the HistoricalMetrics
.
GetMetricDataResponse.Builder metricResults(HistoricalMetricResult... metricResults)
A list of HistoricalMetricResult
objects, organized by Dimensions
, which is the ID
of the resource specified in the Filters
used for the request. The metrics are combined with the
metrics included in Collections
, which is a list of HisotricalMetricData
objects.
If no Grouping
is specified in the request, Collections
includes summary data for
the HistoricalMetrics
.
metricResults
- A list of HistoricalMetricResult
objects, organized by Dimensions
, which is
the ID of the resource specified in the Filters
used for the request. The metrics are
combined with the metrics included in Collections
, which is a list of
HisotricalMetricData
objects.
If no Grouping
is specified in the request, Collections
includes summary
data for the HistoricalMetrics
.
GetMetricDataResponse.Builder metricResults(Consumer<HistoricalMetricResult.Builder>... metricResults)
A list of HistoricalMetricResult
objects, organized by Dimensions
, which is the ID
of the resource specified in the Filters
used for the request. The metrics are combined with the
metrics included in Collections
, which is a list of HisotricalMetricData
objects.
If no Grouping
is specified in the request, Collections
includes summary data for
the HistoricalMetrics
.
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 #metricResults(List)
.metricResults
- a consumer that will call methods on List.Builder
#metricResults(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.