public static interface GetFindingsRequest.Builder extends SecurityHubRequest.Builder, SdkPojo, CopyableBuilder<GetFindingsRequest.Builder,GetFindingsRequest>
Modifier and Type | Method and Description |
---|---|
GetFindingsRequest.Builder |
filters(AwsSecurityFindingFilters filters)
The finding attributes used to define a condition to filter the returned findings.
|
default GetFindingsRequest.Builder |
filters(Consumer<AwsSecurityFindingFilters.Builder> filters)
The finding attributes used to define a condition to filter the returned findings.
|
GetFindingsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of findings to return.
|
GetFindingsRequest.Builder |
nextToken(String nextToken)
The token that is required for pagination.
|
GetFindingsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
GetFindingsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
GetFindingsRequest.Builder |
sortCriteria(Collection<SortCriterion> sortCriteria)
The finding attributes used to sort the list of returned findings.
|
GetFindingsRequest.Builder |
sortCriteria(Consumer<SortCriterion.Builder>... sortCriteria)
The finding attributes used to sort the list of returned findings.
|
GetFindingsRequest.Builder |
sortCriteria(SortCriterion... sortCriteria)
The finding attributes used to sort the list of returned findings.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetFindingsRequest.Builder filters(AwsSecurityFindingFilters filters)
The finding attributes used to define a condition to filter the returned findings.
You can filter by up to 10 finding attributes. For each attribute, you can provide up to 20 filter values.
Note that in the available filter fields, WorkflowState
is deprecated. To search for a finding
based on its workflow status, use WorkflowStatus
.
filters
- The finding attributes used to define a condition to filter the returned findings.
You can filter by up to 10 finding attributes. For each attribute, you can provide up to 20 filter values.
Note that in the available filter fields, WorkflowState
is deprecated. To search for a
finding based on its workflow status, use WorkflowStatus
.
default GetFindingsRequest.Builder filters(Consumer<AwsSecurityFindingFilters.Builder> filters)
The finding attributes used to define a condition to filter the returned findings.
You can filter by up to 10 finding attributes. For each attribute, you can provide up to 20 filter values.
Note that in the available filter fields, WorkflowState
is deprecated. To search for a finding
based on its workflow status, use WorkflowStatus
.
AwsSecurityFindingFilters.Builder
avoiding the
need to create one manually via AwsSecurityFindingFilters.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to filters(AwsSecurityFindingFilters)
.filters
- a consumer that will call methods on AwsSecurityFindingFilters.Builder
filters(AwsSecurityFindingFilters)
GetFindingsRequest.Builder sortCriteria(Collection<SortCriterion> sortCriteria)
The finding attributes used to sort the list of returned findings.
sortCriteria
- The finding attributes used to sort the list of returned findings.GetFindingsRequest.Builder sortCriteria(SortCriterion... sortCriteria)
The finding attributes used to sort the list of returned findings.
sortCriteria
- The finding attributes used to sort the list of returned findings.GetFindingsRequest.Builder sortCriteria(Consumer<SortCriterion.Builder>... sortCriteria)
The finding attributes used to sort the list of returned findings.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #sortCriteria(List)
.sortCriteria
- a consumer that will call methods on List.Builder
#sortCriteria(List)
GetFindingsRequest.Builder nextToken(String nextToken)
The token that is required for pagination. On your first call to the GetFindings
operation, set
the value of this parameter to NULL
.
For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
nextToken
- The token that is required for pagination. On your first call to the GetFindings
operation, set the value of this parameter to NULL
.
For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
GetFindingsRequest.Builder maxResults(Integer maxResults)
The maximum number of findings to return.
maxResults
- The maximum number of findings to return.GetFindingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.GetFindingsRequest.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 © 2021 Amazon Web Services, Inc. All Rights Reserved.