Interface GetQueryResultsMonitorTopContributorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetQueryResultsMonitorTopContributorsResponse.Builder,,GetQueryResultsMonitorTopContributorsResponse> NetworkFlowMonitorResponse.Builder,SdkBuilder<GetQueryResultsMonitorTopContributorsResponse.Builder,,GetQueryResultsMonitorTopContributorsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetQueryResultsMonitorTopContributorsResponse
@Mutable
@NotThreadSafe
public static interface GetQueryResultsMonitorTopContributorsResponse.Builder
extends NetworkFlowMonitorResponse.Builder, SdkPojo, CopyableBuilder<GetQueryResultsMonitorTopContributorsResponse.Builder,GetQueryResultsMonitorTopContributorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token for the next set of results.topContributors(Collection<MonitorTopContributorsRow> topContributors) The top contributor network flows overall for a specific metric type, for example, the number of retransmissions.topContributors(Consumer<MonitorTopContributorsRow.Builder>... topContributors) The top contributor network flows overall for a specific metric type, for example, the number of retransmissions.topContributors(MonitorTopContributorsRow... topContributors) The top contributor network flows overall for a specific metric type, for example, the number of retransmissions.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
copyMethods inherited from interface software.amazon.awssdk.services.networkflowmonitor.model.NetworkFlowMonitorResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
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:
-
topContributors
GetQueryResultsMonitorTopContributorsResponse.Builder topContributors(Collection<MonitorTopContributorsRow> topContributors) The top contributor network flows overall for a specific metric type, for example, the number of retransmissions.
- Parameters:
topContributors- The top contributor network flows overall for a specific metric type, for example, the number of retransmissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topContributors
GetQueryResultsMonitorTopContributorsResponse.Builder topContributors(MonitorTopContributorsRow... topContributors) The top contributor network flows overall for a specific metric type, for example, the number of retransmissions.
- Parameters:
topContributors- The top contributor network flows overall for a specific metric type, for example, the number of retransmissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topContributors
GetQueryResultsMonitorTopContributorsResponse.Builder topContributors(Consumer<MonitorTopContributorsRow.Builder>... topContributors) The top contributor network flows overall for a specific metric type, for example, the number of retransmissions.
This is a convenience method that creates an instance of theMonitorTopContributorsRow.Builderavoiding the need to create one manually viaMonitorTopContributorsRow.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totopContributors(List<MonitorTopContributorsRow>).- Parameters:
topContributors- a consumer that will call methods onMonitorTopContributorsRow.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.
-