Interface ListFindingsV2Request.Builder
- All Superinterfaces:
AccessAnalyzerRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<ListFindingsV2Request.Builder,
,ListFindingsV2Request> SdkBuilder<ListFindingsV2Request.Builder,
,ListFindingsV2Request> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListFindingsV2Request
public static interface ListFindingsV2Request.Builder
extends AccessAnalyzerRequest.Builder, SdkPojo, CopyableBuilder<ListFindingsV2Request.Builder,ListFindingsV2Request>
-
Method Summary
Modifier and TypeMethodDescriptionanalyzerArn
(String analyzerArn) The ARN of the analyzer to retrieve findings from.A filter to match for the findings to return.maxResults
(Integer maxResults) The maximum number of results to return in the response.A token used for pagination of results returned.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default ListFindingsV2Request.Builder
sort
(Consumer<SortCriteria.Builder> sort) Sets the value of the Sort property for this object.sort
(SortCriteria sort) Sets the value of the Sort property for this object.Methods inherited from interface software.amazon.awssdk.services.accessanalyzer.model.AccessAnalyzerRequest.Builder
build
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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
analyzerArn
The ARN of the analyzer to retrieve findings from.
- Parameters:
analyzerArn
- The ARN of the analyzer to retrieve findings from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
A filter to match for the findings to return.
- Parameters:
filter
- A filter to match for the findings to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return in the response.
- Parameters:
maxResults
- The maximum number of results to return in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A token used for pagination of results returned.
- Parameters:
nextToken
- A token used for pagination of results returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
Sets the value of the Sort property for this object.- Parameters:
sort
- The new value for the Sort property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
Sets the value of the Sort property for this object. This is a convenience method that creates an instance of theSortCriteria.Builder
avoiding the need to create one manually viaSortCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosort(SortCriteria)
.- Parameters:
sort
- a consumer that will call methods onSortCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListFindingsV2Request.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListFindingsV2Request.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-