Interface ListProjectsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListProjectsRequest.Builder,,ListProjectsRequest> SdkBuilder<ListProjectsRequest.Builder,,ListProjectsRequest> SdkPojo,SdkRequest.Builder,TextractRequest.Builder
- Enclosing class:
ListProjectsRequest
@Mutable
@NotThreadSafe
public static interface ListProjectsRequest.Builder
extends TextractRequest.Builder, SdkPojo, CopyableBuilder<ListProjectsRequest.Builder,ListProjectsRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ListProjectsRequest.BuilderblueprintFilter(Consumer<BlueprintFilter.Builder> blueprintFilter) A filter that limits the results to projects associated with the specified blueprint.blueprintFilter(BlueprintFilter blueprintFilter) A filter that limits the results to projects associated with the specified blueprint.maxResults(Integer maxResults) The maximum number of projects to return in each page of results.A pagination token returned from a previous call toListProjects.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.textract.model.TextractRequest.Builder
build
-
Method Details
-
maxResults
The maximum number of projects to return in each page of results. If you don't specify a value, the service selects a default page size. Use the
NextTokenvalue in the response to retrieve any remaining results.- Parameters:
maxResults- The maximum number of projects to return in each page of results. If you don't specify a value, the service selects a default page size. Use theNextTokenvalue in the response to retrieve any remaining results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A pagination token returned from a previous call to
ListProjects. Use it to retrieve the next page of results.- Parameters:
nextToken- A pagination token returned from a previous call toListProjects. Use it to retrieve the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blueprintFilter
A filter that limits the results to projects associated with the specified blueprint.
- Parameters:
blueprintFilter- A filter that limits the results to projects associated with the specified blueprint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blueprintFilter
default ListProjectsRequest.Builder blueprintFilter(Consumer<BlueprintFilter.Builder> blueprintFilter) A filter that limits the results to projects associated with the specified blueprint.
This is a convenience method that creates an instance of theBlueprintFilter.Builderavoiding the need to create one manually viaBlueprintFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toblueprintFilter(BlueprintFilter).- Parameters:
blueprintFilter- a consumer that will call methods onBlueprintFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListProjectsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListProjectsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-