Interface GetQueryResultsWorkloadInsightsTopContributorsDataResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetQueryResultsWorkloadInsightsTopContributorsDataResponse.Builder,
,GetQueryResultsWorkloadInsightsTopContributorsDataResponse> NetworkFlowMonitorResponse.Builder
,SdkBuilder<GetQueryResultsWorkloadInsightsTopContributorsDataResponse.Builder,
,GetQueryResultsWorkloadInsightsTopContributorsDataResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetQueryResultsWorkloadInsightsTopContributorsDataResponse
@Mutable
@NotThreadSafe
public static interface GetQueryResultsWorkloadInsightsTopContributorsDataResponse.Builder
extends NetworkFlowMonitorResponse.Builder, SdkPojo, CopyableBuilder<GetQueryResultsWorkloadInsightsTopContributorsDataResponse.Builder,GetQueryResultsWorkloadInsightsTopContributorsDataResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondatapoints
(Collection<WorkloadInsightsTopContributorsDataPoint> datapoints) The datapoints returned by the query.datapoints
(Consumer<WorkloadInsightsTopContributorsDataPoint.Builder>... datapoints) The datapoints returned by the query.datapoints
(WorkloadInsightsTopContributorsDataPoint... datapoints) The datapoints returned by the query.The token for the next set of results.The units for a metric returned by the query.unit
(MetricUnit unit) The units for a metric returned by the query.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.networkflowmonitor.model.NetworkFlowMonitorResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
unit
The units for a metric returned by the query.
- Parameters:
unit
- The units for a metric returned by the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unit
The units for a metric returned by the query.
- Parameters:
unit
- The units for a metric returned by the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
datapoints
GetQueryResultsWorkloadInsightsTopContributorsDataResponse.Builder datapoints(Collection<WorkloadInsightsTopContributorsDataPoint> datapoints) The datapoints returned by the query.
- Parameters:
datapoints
- The datapoints returned by the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datapoints
GetQueryResultsWorkloadInsightsTopContributorsDataResponse.Builder datapoints(WorkloadInsightsTopContributorsDataPoint... datapoints) The datapoints returned by the query.
- Parameters:
datapoints
- The datapoints returned by the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datapoints
GetQueryResultsWorkloadInsightsTopContributorsDataResponse.Builder datapoints(Consumer<WorkloadInsightsTopContributorsDataPoint.Builder>... datapoints) The datapoints returned by the query.
This is a convenience method that creates an instance of theWorkloadInsightsTopContributorsDataPoint.Builder
avoiding the need to create one manually viaWorkloadInsightsTopContributorsDataPoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todatapoints(List<WorkloadInsightsTopContributorsDataPoint>)
.- Parameters:
datapoints
- a consumer that will call methods onWorkloadInsightsTopContributorsDataPoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of results. You receive this token from a previous call.
- Parameters:
nextToken
- The token for the next set of results. You receive this token from a previous call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-