Interface ListProgramManagementAccountsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListProgramManagementAccountsRequest.Builder,,ListProgramManagementAccountsRequest> PartnerCentralChannelRequest.Builder,SdkBuilder<ListProgramManagementAccountsRequest.Builder,,ListProgramManagementAccountsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListProgramManagementAccountsRequest
-
Method Summary
Modifier and TypeMethodDescriptionaccountIds(String... accountIds) Filter by AWS account IDs.accountIds(Collection<String> accountIds) Filter by AWS account IDs.The catalog identifier to filter accounts.displayNames(String... displayNames) Filter by display names.displayNames(Collection<String> displayNames) Filter by display names.maxResults(Integer maxResults) The maximum number of results to return in a single call.Token for retrieving 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.programs(Collection<Program> programs) Filter by program types.Filter by program types.programsWithStrings(String... programs) Filter by program types.programsWithStrings(Collection<String> programs) Filter by program types.Sorting options for the results.Sorting options for the results.statuses(Collection<ProgramManagementAccountStatus> statuses) Filter by program management account statuses.statuses(ProgramManagementAccountStatus... statuses) Filter by program management account statuses.statusesWithStrings(String... statuses) Filter by program management account statuses.statusesWithStrings(Collection<String> statuses) Filter by program management account statuses.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.partnercentralchannel.model.PartnerCentralChannelRequest.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
The catalog identifier to filter accounts.
- Parameters:
catalog- The catalog identifier to filter accounts.- 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.
-
displayNames
Filter by display names.
- Parameters:
displayNames- Filter by display names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayNames
Filter by display names.
- Parameters:
displayNames- Filter by display names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
programsWithStrings
Filter by program types.
- Parameters:
programs- Filter by program types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
programsWithStrings
Filter by program types.
- Parameters:
programs- Filter by program types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
programs
Filter by program types.
- Parameters:
programs- Filter by program types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
programs
Filter by program types.
- Parameters:
programs- Filter by program types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIds
Filter by AWS account IDs.
- Parameters:
accountIds- Filter by AWS account IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountIds
Filter by AWS account IDs.
- Parameters:
accountIds- Filter by AWS account IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusesWithStrings
Filter by program management account statuses.
- Parameters:
statuses- Filter by program management account statuses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusesWithStrings
Filter by program management account statuses.
- Parameters:
statuses- Filter by program management account statuses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statuses
ListProgramManagementAccountsRequest.Builder statuses(Collection<ProgramManagementAccountStatus> statuses) Filter by program management account statuses.
- Parameters:
statuses- Filter by program management account statuses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statuses
Filter by program management account statuses.
- Parameters:
statuses- Filter by program management account statuses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
Sorting options for the results.
- Parameters:
sort- Sorting options for the results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
default ListProgramManagementAccountsRequest.Builder sort(Consumer<ListProgramManagementAccountsSortBase.Builder> sort) Sorting options for the results.
This is a convenience method that creates an instance of theListProgramManagementAccountsSortBase.Builderavoiding the need to create one manually viaListProgramManagementAccountsSortBase.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosort(ListProgramManagementAccountsSortBase).- Parameters:
sort- a consumer that will call methods onListProgramManagementAccountsSortBase.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Token for retrieving the next page of results.
- Parameters:
nextToken- Token for retrieving the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListProgramManagementAccountsRequest.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
ListProgramManagementAccountsRequest.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.
-