public static interface GetCurrentMetricDataResponse.Builder extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<GetCurrentMetricDataResponse.Builder,GetCurrentMetricDataResponse>
| Modifier and Type | Method and Description |
|---|---|
GetCurrentMetricDataResponse.Builder |
approximateTotalCount(Long approximateTotalCount)
The total count of the result, regardless of the current page size.
|
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 theCurrentMetricResult.Builder avoiding the need to create
one manually via CurrentMetricResult.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #metricResults(List.
metricResults - a consumer that will call methods on
CurrentMetricResult.Builder#metricResults(java.util.Collection) 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.GetCurrentMetricDataResponse.Builder approximateTotalCount(Long approximateTotalCount)
The total count of the result, regardless of the current page size.
approximateTotalCount - The total count of the result, regardless of the current page size.Copyright © 2023. All rights reserved.