Interface ListFindingsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListFindingsRequest.Builder,ListFindingsRequest>,InspectorRequest.Builder,SdkBuilder<ListFindingsRequest.Builder,ListFindingsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListFindingsRequest
public static interface ListFindingsRequest.Builder extends InspectorRequest.Builder, SdkPojo, CopyableBuilder<ListFindingsRequest.Builder,ListFindingsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListFindingsRequest.BuilderassessmentRunArns(String... assessmentRunArns)The ARNs of the assessment runs that generate the findings that you want to list.ListFindingsRequest.BuilderassessmentRunArns(Collection<String> assessmentRunArns)The ARNs of the assessment runs that generate the findings that you want to list.default ListFindingsRequest.Builderfilter(Consumer<FindingFilter.Builder> filter)You can use this parameter to specify a subset of data to be included in the action's response.ListFindingsRequest.Builderfilter(FindingFilter filter)You can use this parameter to specify a subset of data to be included in the action's response.ListFindingsRequest.BuildermaxResults(Integer maxResults)You can use this parameter to indicate the maximum number of items you want in the response.ListFindingsRequest.BuildernextToken(String nextToken)You can use this parameter when paginating results.ListFindingsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListFindingsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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.services.inspector.model.InspectorRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
assessmentRunArns
ListFindingsRequest.Builder assessmentRunArns(Collection<String> assessmentRunArns)
The ARNs of the assessment runs that generate the findings that you want to list.
- Parameters:
assessmentRunArns- The ARNs of the assessment runs that generate the findings that you want to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assessmentRunArns
ListFindingsRequest.Builder assessmentRunArns(String... assessmentRunArns)
The ARNs of the assessment runs that generate the findings that you want to list.
- Parameters:
assessmentRunArns- The ARNs of the assessment runs that generate the findings that you want to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
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 method that creates an instance of theFindingFilter.Builderavoiding the need to create one manually viaFindingFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(FindingFilter).- Parameters:
filter- a consumer that will call methods onFindingFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filter(FindingFilter)
-
nextToken
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListFindingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListFindingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-