public static interface GetCurrentMetricDataResponse.Builder extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<GetCurrentMetricDataResponse.Builder,GetCurrentMetricDataResponse>
| Modifier and Type | Method and Description |
|---|---|
GetCurrentMetricDataResponse.Builder |
dataSnapshotTime(Instant dataSnapshotTime)
The time at which
CurrentMetricData was retrieved and cached for pagination. |
GetCurrentMetricDataResponse.Builder |
metricResults(Collection<CurrentMetricResult> metricResults)
A list of
CurrentMetricResult objects organized by Dimensions combining with
CurrentMetricDataCollections. |
GetCurrentMetricDataResponse.Builder |
metricResults(Consumer<CurrentMetricResult.Builder>... metricResults)
A list of
CurrentMetricResult objects organized by Dimensions combining with
CurrentMetricDataCollections. |
GetCurrentMetricDataResponse.Builder |
metricResults(CurrentMetricResult... metricResults)
A list of
CurrentMetricResult objects organized by Dimensions combining with
CurrentMetricDataCollections. |
GetCurrentMetricDataResponse.Builder |
nextToken(String nextToken)
A string returned in the response.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponsecopyapplyMutation, buildGetCurrentMetricDataResponse.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.
GetCurrentMetricDataResponse.Builder metricResults(Collection<CurrentMetricResult> metricResults)
A list of CurrentMetricResult objects organized by Dimensions combining with
CurrentMetricDataCollections.
Dimensions is the resourceId specified in the Filters of the request.
Collections is a list of CurrentMetricData objects with corresponding values to the
CurrentMetrics specified in the request.
If no Grouping is specified in the request, Collections is a summary for the
CurrentMetric returned.
metricResults - A list of CurrentMetricResult objects organized by Dimensions combining with
CurrentMetricDataCollections.
Dimensions is the resourceId specified in the Filters of the request.
Collections is a list of CurrentMetricData objects with corresponding values
to the CurrentMetrics specified in the request.
If no Grouping is specified in the request, Collections is a summary for the
CurrentMetric returned.
GetCurrentMetricDataResponse.Builder metricResults(CurrentMetricResult... metricResults)
A list of CurrentMetricResult objects organized by Dimensions combining with
CurrentMetricDataCollections.
Dimensions is the resourceId specified in the Filters of the request.
Collections is a list of CurrentMetricData objects with corresponding values to the
CurrentMetrics specified in the request.
If no Grouping is specified in the request, Collections is a summary for the
CurrentMetric returned.
metricResults - A list of CurrentMetricResult objects organized by Dimensions combining with
CurrentMetricDataCollections.
Dimensions is the resourceId specified in the Filters of the request.
Collections is a list of CurrentMetricData objects with corresponding values
to the CurrentMetrics specified in the request.
If no Grouping is specified in the request, Collections is a summary for the
CurrentMetric returned.
GetCurrentMetricDataResponse.Builder metricResults(Consumer<CurrentMetricResult.Builder>... metricResults)
A list of CurrentMetricResult objects organized by Dimensions combining with
CurrentMetricDataCollections.
Dimensions is the resourceId specified in the Filters of the request.
Collections is a list of CurrentMetricData objects with corresponding values to the
CurrentMetrics specified in the request.
If no Grouping is specified in the request, Collections is a summary for the
CurrentMetric returned.
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) GetCurrentMetricDataResponse.Builder dataSnapshotTime(Instant dataSnapshotTime)
The time at which CurrentMetricData was retrieved and cached for pagination.
dataSnapshotTime - The time at which CurrentMetricData was retrieved and cached for pagination.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.