Interface GetMetricDataV2Response.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ConnectResponse.Builder,CopyableBuilder<GetMetricDataV2Response.Builder,GetMetricDataV2Response>,SdkBuilder<GetMetricDataV2Response.Builder,GetMetricDataV2Response>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetMetricDataV2Response
public static interface GetMetricDataV2Response.Builder extends ConnectResponse.Builder, SdkPojo, CopyableBuilder<GetMetricDataV2Response.Builder,GetMetricDataV2Response>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetMetricDataV2Response.BuildermetricResults(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.BuildermetricResults(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.BuildermetricResults(MetricResultV2... metricResults)Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.GetMetricDataV2Response.BuildernextToken(String nextToken)If there are additional results, this is the token for the next set of results.-
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
GetMetricDataV2Response.Builder nextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricResults
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.
- Parameters:
metricResults- Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricResults
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.
- Parameters:
metricResults- Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricResults
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.Builderavoiding the need to create one manually viaMetricResultV2.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#metricResults(List.) - Parameters:
metricResults- a consumer that will call methods onMetricResultV2.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#metricResults(java.util.Collection)
-
-