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
Modifier and TypeMethodDescriptionmetricResults(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(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.metricResults(MetricResultV2... metricResults) Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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
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 tometricResults(List<MetricResultV2>).- 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:
-