Interface ListResourcesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListResourcesRequest.Builder,
,ListResourcesRequest> SdkBuilder<ListResourcesRequest.Builder,
,ListResourcesRequest> SdkPojo
,SdkRequest.Builder
,WorkMailRequest.Builder
- Enclosing class:
ListResourcesRequest
public static interface ListResourcesRequest.Builder
extends WorkMailRequest.Builder, SdkPojo, CopyableBuilder<ListResourcesRequest.Builder,ListResourcesRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ListResourcesRequest.Builder
filters
(Consumer<ListResourcesFilters.Builder> filters) Limit the resource search results based on the filter criteria.filters
(ListResourcesFilters filters) Limit the resource search results based on the filter criteria.maxResults
(Integer maxResults) The maximum number of results to return in a single call.The token to use to retrieve the next page of results.organizationId
(String organizationId) The identifier for the organization under which the resources exist.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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, sdkFields
Methods inherited from interface software.amazon.awssdk.services.workmail.model.WorkMailRequest.Builder
build
-
Method Details
-
organizationId
The identifier for the organization under which the resources exist.
- Parameters:
organizationId
- The identifier for the organization under which the resources exist.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token to use to retrieve the next page of results. The first call does not contain any tokens.
- Parameters:
nextToken
- The token to use to retrieve the next page of results. The first call does not contain any tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return in a single call.
- Parameters:
maxResults
- The maximum number of results to return in a single call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Limit the resource search results based on the filter criteria. You can only use one filter per request.
- Parameters:
filters
- Limit the resource search results based on the filter criteria. You can only use one filter per request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Limit the resource search results based on the filter criteria. You can only use one filter per request.
This is a convenience method that creates an instance of theListResourcesFilters.Builder
avoiding the need to create one manually viaListResourcesFilters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(ListResourcesFilters)
.- Parameters:
filters
- a consumer that will call methods onListResourcesFilters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListResourcesRequest.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
ListResourcesRequest.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.
-