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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListFindingAggregationsResponse.BuilderaggregationType(String aggregationType)The type of aggregation to perform.ListFindingAggregationsResponse.BuilderaggregationType(AggregationType aggregationType)The type of aggregation to perform.ListFindingAggregationsResponse.BuildernextToken(String nextToken)A token to use for paginating results that are returned in the response.ListFindingAggregationsResponse.Builderresponses(Collection<AggregationResponse> responses)Objects that contain the results of an aggregation operation.ListFindingAggregationsResponse.Builderresponses(Consumer<AggregationResponse.Builder>... responses)Objects that contain the results of an aggregation operation.ListFindingAggregationsResponse.Builderresponses(AggregationResponse... responses)Objects that contain the results of an aggregation operation.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
aggregationType
ListFindingAggregationsResponse.Builder aggregationType(String 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,AggregationType
-
aggregationType
ListFindingAggregationsResponse.Builder aggregationType(AggregationType 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,AggregationType
-
nextToken
ListFindingAggregationsResponse.Builder nextToken(String 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
ListFindingAggregationsResponse.Builder responses(Collection<AggregationResponse> 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(AggregationResponse... 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 to#responses(List.) - 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:
#responses(java.util.Collection)
-
-