Interface SearchCustomerAccountsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SearchCustomerAccountsRequest.Builder,,SearchCustomerAccountsRequest> PartnerCentralSellingRequest.Builder,SdkBuilder<SearchCustomerAccountsRequest.Builder,,SearchCustomerAccountsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SearchCustomerAccountsRequest
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the catalog for the request.filter(Consumer<Filter.Builder> filter) Specifies a filter tree that narrows the customer accounts.Specifies a filter tree that narrows the customer accounts.maxResults(Integer maxResults) Specifies the maximum number of results to return in a single call.Specifies the token for the next page of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Specifies the field and direction used to sort the results.sort(CustomerAccountSort sort) Specifies the field and direction used to sort the 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 for the request. Valid values:
-
AWS: Production. -
Sandbox: Testing environments.
- Parameters:
catalog- Specifies the catalog for the request. Valid values:-
AWS: Production. -
Sandbox: Testing environments.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
filter
Specifies a filter tree that narrows the customer accounts. Each node either combines child filters or compares a single field to a value.
- Parameters:
filter- Specifies a filter tree that narrows the customer accounts. Each node either combines child filters or compares a single field to a value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
Specifies a filter tree that narrows the customer accounts. Each node either combines child filters or compares a single field to a value.
This is a convenience method that creates an instance of theFilter.Builderavoiding the need to create one manually viaFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(Filter).- Parameters:
filter- a consumer that will call methods onFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sort
Specifies the field and direction used to sort the results.
- Parameters:
sort- Specifies the field and direction used to sort the results.- 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 results.
This is a convenience method that creates an instance of theCustomerAccountSort.Builderavoiding the need to create one manually viaCustomerAccountSort.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosort(CustomerAccountSort).- Parameters:
sort- a consumer that will call methods onCustomerAccountSort.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. Use this value together with
NextTokento control pagination.- Parameters:
maxResults- Specifies the maximum number of results to return in a single call. Use this value together withNextTokento control pagination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
Specifies the token for the next page of results. Use the
NextTokenvalue from a previous response to retrieve the next page.- Parameters:
nextToken- Specifies the token for the next page of results. Use theNextTokenvalue from a previous response to retrieve the next page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SearchCustomerAccountsRequest.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
SearchCustomerAccountsRequest.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.
-