Interface GetFindingsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetFindingsRequest.Builder,
,GetFindingsRequest> SdkBuilder<GetFindingsRequest.Builder,
,GetFindingsRequest> SdkPojo
,SdkRequest.Builder
,SecurityHubRequest.Builder
- Enclosing class:
GetFindingsRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetFindingsRequest.Builder
filters
(Consumer<AwsSecurityFindingFilters.Builder> filters) The finding attributes used to define a condition to filter the returned findings.filters
(AwsSecurityFindingFilters filters) The finding attributes used to define a condition to filter the returned findings.maxResults
(Integer maxResults) The maximum number of findings to return.The token that is required for pagination.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sortCriteria
(Collection<SortCriterion> sortCriteria) The finding attributes used to sort the list of returned findings.sortCriteria
(Consumer<SortCriterion.Builder>... sortCriteria) The finding attributes used to sort the list of returned findings.sortCriteria
(SortCriterion... sortCriteria) The finding attributes used to sort the list of returned findings.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build
-
Method Details
-
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, useWorkflowStatus
.- Parameters:
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, useWorkflowStatus
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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,
This is a convenience method that creates an instance of theWorkflowState
is deprecated. To search for a finding based on its workflow status, useWorkflowStatus
.AwsSecurityFindingFilters.Builder
avoiding the need to create one manually viaAwsSecurityFindingFilters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(AwsSecurityFindingFilters)
.- Parameters:
filters
- a consumer that will call methods onAwsSecurityFindingFilters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortCriteria
The finding attributes used to sort the list of returned findings.
- Parameters:
sortCriteria
- The finding attributes used to sort the list of returned findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
The finding attributes used to sort the list of returned findings.
- Parameters:
sortCriteria
- The finding attributes used to sort the list of returned findings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaSortCriterion.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosortCriteria(List<SortCriterion>)
.- Parameters:
sortCriteria
- a consumer that will call methods onSortCriterion.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token that is required for pagination. On your first call to the
GetFindings
operation, set the value of this parameter toNULL
.For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
- Parameters:
nextToken
- The token that is required for pagination. On your first call to theGetFindings
operation, set the value of this parameter toNULL
.For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of findings to return.
- Parameters:
maxResults
- The maximum number of findings to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetFindingsRequest.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
GetFindingsRequest.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.
-