Interface ListFindingsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListFindingsRequest.Builder,ListFindingsRequest>,Inspector2Request.Builder,SdkBuilder<ListFindingsRequest.Builder,ListFindingsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListFindingsRequest
public static interface ListFindingsRequest.Builder extends Inspector2Request.Builder, SdkPojo, CopyableBuilder<ListFindingsRequest.Builder,ListFindingsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListFindingsRequest.BuilderfilterCriteria(Consumer<FilterCriteria.Builder> filterCriteria)Details on the filters to apply to your finding results.ListFindingsRequest.BuilderfilterCriteria(FilterCriteria filterCriteria)Details on the filters to apply to your finding results.ListFindingsRequest.BuildermaxResults(Integer maxResults)The maximum number of results the response can return.ListFindingsRequest.BuildernextToken(String nextToken)A token to use for paginating results that are returned in the response.ListFindingsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListFindingsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default ListFindingsRequest.BuildersortCriteria(Consumer<SortCriteria.Builder> sortCriteria)Details on the sort criteria to apply to your finding results.ListFindingsRequest.BuildersortCriteria(SortCriteria sortCriteria)Details on the sort criteria to apply to your finding results.-
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.inspector2.model.Inspector2Request.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
-
filterCriteria
ListFindingsRequest.Builder filterCriteria(FilterCriteria filterCriteria)
Details on the filters to apply to your finding results.
- Parameters:
filterCriteria- Details on the filters to apply to your finding results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterCriteria
default ListFindingsRequest.Builder filterCriteria(Consumer<FilterCriteria.Builder> filterCriteria)
Details on the filters to apply to your finding results.
This is a convenience method that creates an instance of theFilterCriteria.Builderavoiding the need to create one manually viaFilterCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilterCriteria(FilterCriteria).- Parameters:
filterCriteria- a consumer that will call methods onFilterCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filterCriteria(FilterCriteria)
-
maxResults
ListFindingsRequest.Builder maxResults(Integer maxResults)
The maximum number of results the response can return. If your request would return more than the maximum the response will return a
nextTokenvalue, use this value when you call the action again to get the remaining results.- Parameters:
maxResults- The maximum number of results the response can return. If your request would return more than the maximum the response will return anextTokenvalue, use this value when you call the action again to get the remaining results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListFindingsRequest.Builder nextToken(String nextToken)
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the
maxResultsmaximum value it will also return anextTokenvalue. For subsequent calls, use thenextTokenvalue returned from the previous request to continue listing results after the first page.- Parameters:
nextToken- A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than themaxResultsmaximum value it will also return anextTokenvalue. For subsequent calls, use thenextTokenvalue returned from the previous request to continue listing results after the first page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
ListFindingsRequest.Builder sortCriteria(SortCriteria sortCriteria)
Details on the sort criteria to apply to your finding results.
- Parameters:
sortCriteria- Details on the sort criteria to apply to your finding results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
default ListFindingsRequest.Builder sortCriteria(Consumer<SortCriteria.Builder> sortCriteria)
Details on the sort criteria to apply to your finding results.
This is a convenience method that creates an instance of theSortCriteria.Builderavoiding the need to create one manually viaSortCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosortCriteria(SortCriteria).- Parameters:
sortCriteria- a consumer that will call methods onSortCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sortCriteria(SortCriteria)
-
overrideConfiguration
ListFindingsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListFindingsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-