Interface SearchResourcesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<SearchResourcesRequest.Builder,
,SearchResourcesRequest> Macie2Request.Builder
,SdkBuilder<SearchResourcesRequest.Builder,
,SearchResourcesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
SearchResourcesRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault SearchResourcesRequest.Builder
bucketCriteria
(Consumer<SearchResourcesBucketCriteria.Builder> bucketCriteria) The filter conditions that determine which S3 buckets to include or exclude from the query results.bucketCriteria
(SearchResourcesBucketCriteria bucketCriteria) The filter conditions that determine which S3 buckets to include or exclude from the query results.maxResults
(Integer maxResults) The maximum number of items to include in each page of the response.The nextToken string that specifies which page of results to return in a paginated response.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default SearchResourcesRequest.Builder
sortCriteria
(Consumer<SearchResourcesSortCriteria.Builder> sortCriteria) The criteria to use to sort the results.sortCriteria
(SearchResourcesSortCriteria sortCriteria) The criteria to use to sort the 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.macie2.model.Macie2Request.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 Details
-
bucketCriteria
The filter conditions that determine which S3 buckets to include or exclude from the query results.
- Parameters:
bucketCriteria
- The filter conditions that determine which S3 buckets to include or exclude from the query results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketCriteria
default SearchResourcesRequest.Builder bucketCriteria(Consumer<SearchResourcesBucketCriteria.Builder> bucketCriteria) The filter conditions that determine which S3 buckets to include or exclude from the query results.
This is a convenience method that creates an instance of theSearchResourcesBucketCriteria.Builder
avoiding the need to create one manually viaSearchResourcesBucketCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobucketCriteria(SearchResourcesBucketCriteria)
.- Parameters:
bucketCriteria
- a consumer that will call methods onSearchResourcesBucketCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of items to include in each page of the response. The default value is 50.
- Parameters:
maxResults
- The maximum number of items to include in each page of the response. The default value is 50.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The nextToken string that specifies which page of results to return in a paginated response.
- Parameters:
nextToken
- The nextToken string that specifies which page of results to return in a paginated response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
The criteria to use to sort the results.
- Parameters:
sortCriteria
- The criteria to use to sort the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortCriteria
default SearchResourcesRequest.Builder sortCriteria(Consumer<SearchResourcesSortCriteria.Builder> sortCriteria) The criteria to use to sort the results.
This is a convenience method that creates an instance of theSearchResourcesSortCriteria.Builder
avoiding the need to create one manually viaSearchResourcesSortCriteria.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosortCriteria(SearchResourcesSortCriteria)
.- Parameters:
sortCriteria
- a consumer that will call methods onSearchResourcesSortCriteria.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
SearchResourcesRequest.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
SearchResourcesRequest.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.
-