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) |
GetFindingsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetFindingsRequest.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.Builderfilters(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 method that creates an instance of theSortCriterion.Builder avoiding the need to create
one manually via SortCriterion.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #sortCriteria(List.
sortCriteria - a consumer that will call methods on
SortCriterion.Builder#sortCriteria(java.util.Collection) 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)
overrideConfiguration in interface AwsRequest.BuilderGetFindingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.