public static interface ListFindingsRequest.Builder extends InspectorRequest.Builder, CopyableBuilder<ListFindingsRequest.Builder,ListFindingsRequest>
Modifier and Type | Method and Description |
---|---|
ListFindingsRequest.Builder |
assessmentRunArns(Collection<String> assessmentRunArns)
The ARNs of the assessment runs that generate the findings that you want to list.
|
ListFindingsRequest.Builder |
assessmentRunArns(String... assessmentRunArns)
The ARNs of the assessment runs that generate the findings that you want to list.
|
default ListFindingsRequest.Builder |
filter(Consumer<FindingFilter.Builder> filter)
You can use this parameter to specify a subset of data to be included in the action's response.
|
ListFindingsRequest.Builder |
filter(FindingFilter filter)
You can use this parameter to specify a subset of data to be included in the action's response.
|
ListFindingsRequest.Builder |
maxResults(Integer maxResults)
You can use this parameter to indicate the maximum number of items you want in the response.
|
ListFindingsRequest.Builder |
nextToken(String nextToken)
You can use this parameter when paginating results.
|
ListFindingsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ListFindingsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
ListFindingsRequest.Builder assessmentRunArns(Collection<String> assessmentRunArns)
The ARNs of the assessment runs that generate the findings that you want to list.
assessmentRunArns
- The ARNs of the assessment runs that generate the findings that you want to list.ListFindingsRequest.Builder assessmentRunArns(String... assessmentRunArns)
The ARNs of the assessment runs that generate the findings that you want to list.
assessmentRunArns
- The ARNs of the assessment runs that generate the findings that you want to list.ListFindingsRequest.Builder filter(FindingFilter filter)
You can use this parameter to specify a subset of data to be included in the action's response.
For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.
filter
- You can use this parameter to specify a subset of data to be included in the action's response.
For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.
default ListFindingsRequest.Builder filter(Consumer<FindingFilter.Builder> filter)
You can use this parameter to specify a subset of data to be included in the action's response.
For a record to match a filter, all specified filter attributes must match. When multiple values are specified for a filter attribute, any of the values can match.
This is a convenience that creates an instance of theFindingFilter.Builder
avoiding the need to
create one manually via FindingFilter.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to filter(FindingFilter)
.filter
- a consumer that will call methods on FindingFilter.Builder
filter(FindingFilter)
ListFindingsRequest.Builder nextToken(String nextToken)
You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the ListFindings action. Subsequent calls to the action fill nextToken in the request with the value of NextToken from the previous response to continue listing data.
nextToken
- You can use this parameter when paginating results. Set the value of this parameter to null on your
first call to the ListFindings action. Subsequent calls to the action fill nextToken in
the request with the value of NextToken from the previous response to continue listing data.ListFindingsRequest.Builder maxResults(Integer maxResults)
You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.
maxResults
- You can use this parameter to indicate the maximum number of items you want in the response. The
default value is 10. The maximum value is 500.ListFindingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ListFindingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.