Interface SearchResourcesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SearchResourcesRequest.Builder,,SearchResourcesRequest> SdkBuilder<SearchResourcesRequest.Builder,,SearchResourcesRequest> SdkPojo,SdkRequest.Builder,WorkDocsRequest.Builder
- Enclosing class:
SearchResourcesRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalResponseFields(Collection<AdditionalResponseFieldType> additionalResponseFields) A list of attributes to include in the response.additionalResponseFields(AdditionalResponseFieldType... additionalResponseFields) A list of attributes to include in the response.additionalResponseFieldsWithStrings(String... additionalResponseFields) A list of attributes to include in the response.additionalResponseFieldsWithStrings(Collection<String> additionalResponseFields) A list of attributes to include in the response.authenticationToken(String authenticationToken) Amazon WorkDocs authentication token.default SearchResourcesRequest.Builderfilters(Consumer<Filters.Builder> filters) Filters results based on entity metadata.Filters results based on entity metadata.Max results count per page.The marker for the next set of results.orderBy(Collection<SearchSortResult> orderBy) Order by results in one or more categories.orderBy(Consumer<SearchSortResult.Builder>... orderBy) Order by results in one or more categories.orderBy(SearchSortResult... orderBy) Order by results in one or more categories.organizationId(String organizationId) Filters based on the resource owner OrgId.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.queryScopes(Collection<SearchQueryScopeType> queryScopes) Filter based on the text field type.queryScopes(SearchQueryScopeType... queryScopes) Filter based on the text field type.queryScopesWithStrings(String... queryScopes) Filter based on the text field type.queryScopesWithStrings(Collection<String> queryScopes) Filter based on the text field type.The String to search for.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.workdocs.model.WorkDocsRequest.Builder
build
-
Method Details
-
authenticationToken
Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
- Parameters:
authenticationToken- Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryText
The String to search for. Searches across different text fields based on request parameters. Use double quotes around the query string for exact phrase matches.
- Parameters:
queryText- The String to search for. Searches across different text fields based on request parameters. Use double quotes around the query string for exact phrase matches.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryScopesWithStrings
Filter based on the text field type. A Folder has only a name and no content. A Comment has only content and no name. A Document or Document Version has a name and content
- Parameters:
queryScopes- Filter based on the text field type. A Folder has only a name and no content. A Comment has only content and no name. A Document or Document Version has a name and content- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryScopesWithStrings
Filter based on the text field type. A Folder has only a name and no content. A Comment has only content and no name. A Document or Document Version has a name and content
- Parameters:
queryScopes- Filter based on the text field type. A Folder has only a name and no content. A Comment has only content and no name. A Document or Document Version has a name and content- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryScopes
Filter based on the text field type. A Folder has only a name and no content. A Comment has only content and no name. A Document or Document Version has a name and content
- Parameters:
queryScopes- Filter based on the text field type. A Folder has only a name and no content. A Comment has only content and no name. A Document or Document Version has a name and content- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryScopes
Filter based on the text field type. A Folder has only a name and no content. A Comment has only content and no name. A Document or Document Version has a name and content
- Parameters:
queryScopes- Filter based on the text field type. A Folder has only a name and no content. A Comment has only content and no name. A Document or Document Version has a name and content- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationId
Filters based on the resource owner OrgId. This is a mandatory parameter when using Admin SigV4 credentials.
- Parameters:
organizationId- Filters based on the resource owner OrgId. This is a mandatory parameter when using Admin SigV4 credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalResponseFieldsWithStrings
SearchResourcesRequest.Builder additionalResponseFieldsWithStrings(Collection<String> additionalResponseFields) A list of attributes to include in the response. Used to request fields that are not normally returned in a standard response.
- Parameters:
additionalResponseFields- A list of attributes to include in the response. Used to request fields that are not normally returned in a standard response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalResponseFieldsWithStrings
SearchResourcesRequest.Builder additionalResponseFieldsWithStrings(String... additionalResponseFields) A list of attributes to include in the response. Used to request fields that are not normally returned in a standard response.
- Parameters:
additionalResponseFields- A list of attributes to include in the response. Used to request fields that are not normally returned in a standard response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalResponseFields
SearchResourcesRequest.Builder additionalResponseFields(Collection<AdditionalResponseFieldType> additionalResponseFields) A list of attributes to include in the response. Used to request fields that are not normally returned in a standard response.
- Parameters:
additionalResponseFields- A list of attributes to include in the response. Used to request fields that are not normally returned in a standard response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalResponseFields
SearchResourcesRequest.Builder additionalResponseFields(AdditionalResponseFieldType... additionalResponseFields) A list of attributes to include in the response. Used to request fields that are not normally returned in a standard response.
- Parameters:
additionalResponseFields- A list of attributes to include in the response. Used to request fields that are not normally returned in a standard response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Filters results based on entity metadata.
- Parameters:
filters- Filters results based on entity metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
Filters results based on entity metadata.
This is a convenience method that creates an instance of theFilters.Builderavoiding the need to create one manually viaFilters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilters(Filters).- Parameters:
filters- a consumer that will call methods onFilters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
orderBy
Order by results in one or more categories.
- Parameters:
orderBy- Order by results in one or more categories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orderBy
Order by results in one or more categories.
- Parameters:
orderBy- Order by results in one or more categories.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orderBy
Order by results in one or more categories.
This is a convenience method that creates an instance of theSearchSortResult.Builderavoiding the need to create one manually viaSearchSortResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toorderBy(List<SearchSortResult>).- Parameters:
orderBy- a consumer that will call methods onSearchSortResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
limit
Max results count per page.
- Parameters:
limit- Max results count per page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
marker
The marker for the next set of results.
- Parameters:
marker- The marker for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SearchResourcesRequest.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
SearchResourcesRequest.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.
-