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)
Information about the historical metrics.
|
GetMetricDataResponse.Builder |
metricResults(Consumer<HistoricalMetricResult.Builder>... metricResults)
Information about the historical metrics.
|
GetMetricDataResponse.Builder |
metricResults(HistoricalMetricResult... metricResults)
Information about the historical metrics.
|
GetMetricDataResponse.Builder |
nextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetMetricDataResponse.Builder nextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
nextToken - If there are additional results, this is the token for the next set of results.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
GetMetricDataResponse.Builder metricResults(Collection<HistoricalMetricResult> metricResults)
Information about the historical metrics.
If no grouping is specified, a summary of metric data is returned.
metricResults - Information about the historical metrics.
If no grouping is specified, a summary of metric data is returned.
GetMetricDataResponse.Builder metricResults(HistoricalMetricResult... metricResults)
Information about the historical metrics.
If no grouping is specified, a summary of metric data is returned.
metricResults - Information about the historical metrics.
If no grouping is specified, a summary of metric data is returned.
GetMetricDataResponse.Builder metricResults(Consumer<HistoricalMetricResult.Builder>... metricResults)
Information about the historical metrics.
If no grouping is specified, a summary of metric data is returned.
This is a convenience method 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 #metricResults(List) .metricResults - a consumer that will call methods on List.Builder #metricResults(List) Copyright © 2022. All rights reserved.