Interface SearchEngagementsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SearchEngagementsRequest.Builder,,SearchEngagementsRequest> PartnerCentralSellingRequest.Builder,SdkBuilder<SearchEngagementsRequest.Builder,,SearchEngagementsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SearchEngagementsRequest
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the catalog to search.default SearchEngagementsRequest.Builderfilter(Consumer<EngagementSearchFilter.Builder> filter) A recursive, structured filter tree.filter(EngagementSearchFilter filter) A recursive, structured filter tree.The identifier of an engagement group thatListEngagementGroupsreturns.An optional free-text query string matched against the engagement title, description, customer company name, and member company names.maxResults(Integer maxResults) Specifies the maximum number of results to return in a single call.A pagination token returned by a previous call.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default SearchEngagementsRequest.BuilderSpecifies the field and direction used to sort the search results.sort(EngagementSearchSort sort) Specifies the field and direction used to sort the search results.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.services.partnercentralselling.model.PartnerCentralSellingRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
catalog
Specifies the catalog to search. The following values are valid:
-
AWS: Production. -
Sandbox: Testing environments.
- Parameters:
catalog- Specifies the catalog to search. The following values are valid:-
AWS: Production. -
Sandbox: Testing environments.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
keyword
An optional free-text query string matched against the engagement title, description, customer company name, and member company names. When provided together with
FilterorGroupId, each one narrows the result set.- Parameters:
keyword- An optional free-text query string matched against the engagement title, description, customer company name, and member company names. When provided together withFilterorGroupId, each one narrows the result set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
A recursive, structured filter tree. Each node is either a boolean combinator (
AndAllFilters,OrAllFilters, orNotFilter) or a leaf predicate (a single comparison such asEqualsTo). When provided together withKeywordorGroupId, each one narrows the result set.- Parameters:
filter- A recursive, structured filter tree. Each node is either a boolean combinator (AndAllFilters,OrAllFilters, orNotFilter) or a leaf predicate (a single comparison such asEqualsTo). When provided together withKeywordorGroupId, each one narrows the result set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
A recursive, structured filter tree. Each node is either a boolean combinator (
This is a convenience method that creates an instance of theAndAllFilters,OrAllFilters, orNotFilter) or a leaf predicate (a single comparison such asEqualsTo). When provided together withKeywordorGroupId, each one narrows the result set.EngagementSearchFilter.Builderavoiding the need to create one manually viaEngagementSearchFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(EngagementSearchFilter).- Parameters:
filter- a consumer that will call methods onEngagementSearchFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupId
The identifier of an engagement group that
ListEngagementGroupsreturns. When you specify a group, the operation returns only the engagements that match the criteria that define the group. The group must be active and available to you in the specified catalog. Otherwise, the request fails with aValidationException.- Parameters:
groupId- The identifier of an engagement group thatListEngagementGroupsreturns. When you specify a group, the operation returns only the engagements that match the criteria that define the group. The group must be active and available to you in the specified catalog. Otherwise, the request fails with aValidationException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
Specifies the field and direction used to sort the search results. If you omit this field, results are sorted by creation time, newest first.
- Parameters:
sort- Specifies the field and direction used to sort the search results. If you omit this field, results are sorted by creation time, newest first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
Specifies the field and direction used to sort the search results. If you omit this field, results are sorted by creation time, newest first.
This is a convenience method that creates an instance of theEngagementSearchSort.Builderavoiding the need to create one manually viaEngagementSearchSort.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosort(EngagementSearchSort).- Parameters:
sort- a consumer that will call methods onEngagementSearchSort.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
Specifies the maximum number of results to return in a single call. If you omit this value, the operation returns up to 20 results. Use this value to control pagination together with
NextToken.- Parameters:
maxResults- Specifies the maximum number of results to return in a single call. If you omit this value, the operation returns up to 20 results. Use this value to control pagination together withNextToken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A pagination token returned by a previous call. Pass it in a subsequent call to retrieve the next page of results. Omit it on the first call.
- Parameters:
nextToken- A pagination token returned by a previous call. Pass it in a subsequent call to retrieve the next page of results. Omit it on the first call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SearchEngagementsRequest.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
SearchEngagementsRequest.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.
-