Interface ListFindingAggregationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListFindingAggregationsResponse.Builder,,ListFindingAggregationsResponse> Inspector2Response.Builder,SdkBuilder<ListFindingAggregationsResponse.Builder,,ListFindingAggregationsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListFindingAggregationsResponse
public static interface ListFindingAggregationsResponse.Builder
extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<ListFindingAggregationsResponse.Builder,ListFindingAggregationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionaggregationType(String aggregationType) The type of aggregation to perform.aggregationType(AggregationType aggregationType) The type of aggregation to perform.A token to use for paginating results that are returned in the response.responses(Collection<AggregationResponse> responses) Objects that contain the results of an aggregation operation.responses(Consumer<AggregationResponse.Builder>... responses) Objects that contain the results of an aggregation operation.responses(AggregationResponse... responses) Objects that contain the results of an aggregation operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
aggregationType
The type of aggregation to perform.
- Parameters:
aggregationType- The type of aggregation to perform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregationType
The type of aggregation to perform.
- Parameters:
aggregationType- The type of aggregation to perform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the
NextTokenvalue returned from the previous request to continue listing results after the first page.- Parameters:
nextToken- A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use theNextTokenvalue returned from the previous request to continue listing results after the first page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responses
Objects that contain the results of an aggregation operation.
- Parameters:
responses- Objects that contain the results of an aggregation operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responses
Objects that contain the results of an aggregation operation.
- Parameters:
responses- Objects that contain the results of an aggregation operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responses
ListFindingAggregationsResponse.Builder responses(Consumer<AggregationResponse.Builder>... responses) Objects that contain the results of an aggregation operation.
This is a convenience method that creates an instance of theAggregationResponse.Builderavoiding the need to create one manually viaAggregationResponse.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresponses(List<AggregationResponse>).- Parameters:
responses- a consumer that will call methods onAggregationResponse.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-