public static interface GetMetricDataV2Response.Builder extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<GetMetricDataV2Response.Builder,GetMetricDataV2Response>
| Modifier and Type | Method and Description |
|---|---|
GetMetricDataV2Response.Builder |
metricResults(Collection<MetricResultV2> metricResults)
Information about the metrics requested in the API request If no grouping is specified, a summary of metric
data is returned.
|
GetMetricDataV2Response.Builder |
metricResults(Consumer<MetricResultV2.Builder>... metricResults)
Information about the metrics requested in the API request If no grouping is specified, a summary of metric
data is returned.
|
GetMetricDataV2Response.Builder |
metricResults(MetricResultV2... metricResults)
Information about the metrics requested in the API request If no grouping is specified, a summary of metric
data is returned.
|
GetMetricDataV2Response.Builder |
nextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetMetricDataV2Response.Builder nextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken - If there are additional results, this is the token for the next set of results.GetMetricDataV2Response.Builder metricResults(Collection<MetricResultV2> metricResults)
Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.
metricResults - Information about the metrics requested in the API request If no grouping is specified, a summary of
metric data is returned.GetMetricDataV2Response.Builder metricResults(MetricResultV2... metricResults)
Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.
metricResults - Information about the metrics requested in the API request If no grouping is specified, a summary of
metric data is returned.GetMetricDataV2Response.Builder metricResults(Consumer<MetricResultV2.Builder>... metricResults)
Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.
This is a convenience method that creates an instance of theMetricResultV2.Builder avoiding the need to create one
manually via MetricResultV2.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
MetricResultV2.Builder#metricResults(java.util.Collection) Copyright © 2023. All rights reserved.