Interface ListFindingAggregationsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListFindingAggregationsRequest.Builder,ListFindingAggregationsRequest>,Inspector2Request.Builder,SdkBuilder<ListFindingAggregationsRequest.Builder,ListFindingAggregationsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListFindingAggregationsRequest
public static interface ListFindingAggregationsRequest.Builder extends Inspector2Request.Builder, SdkPojo, CopyableBuilder<ListFindingAggregationsRequest.Builder,ListFindingAggregationsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListFindingAggregationsRequest.BuilderaccountIds(Collection<StringFilter> accountIds)The Amazon Web Services account IDs to retrieve finding aggregation data for.ListFindingAggregationsRequest.BuilderaccountIds(Consumer<StringFilter.Builder>... accountIds)The Amazon Web Services account IDs to retrieve finding aggregation data for.ListFindingAggregationsRequest.BuilderaccountIds(StringFilter... accountIds)The Amazon Web Services account IDs to retrieve finding aggregation data for.default ListFindingAggregationsRequest.BuilderaggregationRequest(Consumer<AggregationRequest.Builder> aggregationRequest)Details of the aggregation request that is used to filter your aggregation results.ListFindingAggregationsRequest.BuilderaggregationRequest(AggregationRequest aggregationRequest)Details of the aggregation request that is used to filter your aggregation results.ListFindingAggregationsRequest.BuilderaggregationType(String aggregationType)The type of the aggregation request.ListFindingAggregationsRequest.BuilderaggregationType(AggregationType aggregationType)The type of the aggregation request.ListFindingAggregationsRequest.BuildermaxResults(Integer maxResults)The maximum number of results the response can return.ListFindingAggregationsRequest.BuildernextToken(String nextToken)A token to use for paginating results that are returned in the response.ListFindingAggregationsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListFindingAggregationsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
accountIds
ListFindingAggregationsRequest.Builder accountIds(Collection<StringFilter> accountIds)
The Amazon Web Services account IDs to retrieve finding aggregation data for.
- Parameters:
accountIds- The Amazon Web Services account IDs to retrieve finding aggregation data for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIds
ListFindingAggregationsRequest.Builder accountIds(StringFilter... accountIds)
The Amazon Web Services account IDs to retrieve finding aggregation data for.
- Parameters:
accountIds- The Amazon Web Services account IDs to retrieve finding aggregation data for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIds
ListFindingAggregationsRequest.Builder accountIds(Consumer<StringFilter.Builder>... accountIds)
The Amazon Web Services account IDs to retrieve finding aggregation data for.
This is a convenience method that creates an instance of theStringFilter.Builderavoiding the need to create one manually viaStringFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accountIds(List.) - Parameters:
accountIds- a consumer that will call methods onStringFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#accountIds(java.util.Collection)
-
aggregationRequest
ListFindingAggregationsRequest.Builder aggregationRequest(AggregationRequest aggregationRequest)
Details of the aggregation request that is used to filter your aggregation results.
- Parameters:
aggregationRequest- Details of the aggregation request that is used to filter your aggregation results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationRequest
default ListFindingAggregationsRequest.Builder aggregationRequest(Consumer<AggregationRequest.Builder> aggregationRequest)
Details of the aggregation request that is used to filter your aggregation results.
This is a convenience method that creates an instance of theAggregationRequest.Builderavoiding the need to create one manually viaAggregationRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaggregationRequest(AggregationRequest).- Parameters:
aggregationRequest- a consumer that will call methods onAggregationRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
aggregationRequest(AggregationRequest)
-
aggregationType
ListFindingAggregationsRequest.Builder aggregationType(String aggregationType)
The type of the aggregation request.
- Parameters:
aggregationType- The type of the aggregation request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AggregationType,AggregationType
-
aggregationType
ListFindingAggregationsRequest.Builder aggregationType(AggregationType aggregationType)
The type of the aggregation request.
- Parameters:
aggregationType- The type of the aggregation request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AggregationType,AggregationType
-
maxResults
ListFindingAggregationsRequest.Builder maxResults(Integer maxResults)
The maximum number of results the response can return. If your request would return more than the maximum the response will return a
nextTokenvalue, use this value when you call the action again to get the remaining results.- Parameters:
maxResults- The maximum number of results the response can return. If your request would return more than the maximum the response will return anextTokenvalue, use this value when you call the action again to get the remaining results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListFindingAggregationsRequest.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. If your response returns more than the
maxResultsmaximum value it will also return anextTokenvalue. For subsequent calls, use thenextTokenvalue 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. If your response returns more than themaxResultsmaximum value it will also return anextTokenvalue. 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.
-
overrideConfiguration
ListFindingAggregationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListFindingAggregationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-