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 the metrics were retrieved and cached for pagination.
|
GetCurrentMetricDataResponse.Builder |
metricResults(Collection<CurrentMetricResult> metricResults)
Information about the real-time metrics.
|
GetCurrentMetricDataResponse.Builder |
metricResults(Consumer<CurrentMetricResult.Builder>... metricResults)
Information about the real-time metrics.
|
GetCurrentMetricDataResponse.Builder |
metricResults(CurrentMetricResult... metricResults)
Information about the real-time metrics.
|
GetCurrentMetricDataResponse.Builder |
nextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetCurrentMetricDataResponse.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.
GetCurrentMetricDataResponse.Builder metricResults(Collection<CurrentMetricResult> metricResults)
Information about the real-time metrics.
metricResults - Information about the real-time metrics.GetCurrentMetricDataResponse.Builder metricResults(CurrentMetricResult... metricResults)
Information about the real-time metrics.
metricResults - Information about the real-time metrics.GetCurrentMetricDataResponse.Builder metricResults(Consumer<CurrentMetricResult.Builder>... metricResults)
Information about the real-time metrics.
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) GetCurrentMetricDataResponse.Builder dataSnapshotTime(Instant dataSnapshotTime)
The time at which the metrics were retrieved and cached for pagination.
dataSnapshotTime - The time at which the metrics were retrieved and cached for pagination.Copyright © 2022. All rights reserved.