Interface ListRelationshipsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListRelationshipsRequest.Builder,,ListRelationshipsRequest> PartnerCentralChannelRequest.Builder,SdkBuilder<ListRelationshipsRequest.Builder,,ListRelationshipsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListRelationshipsRequest
@Mutable
@NotThreadSafe
public static interface ListRelationshipsRequest.Builder
extends PartnerCentralChannelRequest.Builder, SdkPojo, CopyableBuilder<ListRelationshipsRequest.Builder,ListRelationshipsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionassociatedAccountIds(String... associatedAccountIds) Filter by associated AWS account IDs.associatedAccountIds(Collection<String> associatedAccountIds) Filter by associated AWS account IDs.associationTypes(Collection<AssociationType> associationTypes) Filter by association types.associationTypes(AssociationType... associationTypes) Filter by association types.associationTypesWithStrings(String... associationTypes) Filter by association types.associationTypesWithStrings(Collection<String> associationTypes) Filter by association types.The catalog identifier to filter relationships.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.programManagementAccountIdentifiers(String... programManagementAccountIdentifiers) Filter by program management account identifiers.programManagementAccountIdentifiers(Collection<String> programManagementAccountIdentifiers) Filter by program management account identifiers.default ListRelationshipsRequest.BuilderSorting options for the results.Sorting options for 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.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 relationships.
- Parameters:
catalog- The catalog identifier to filter relationships.- 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.
-
associatedAccountIds
Filter by associated AWS account IDs.
- Parameters:
associatedAccountIds- Filter by associated AWS account IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedAccountIds
Filter by associated AWS account IDs.
- Parameters:
associatedAccountIds- Filter by associated AWS account IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationTypesWithStrings
Filter by association types.
- Parameters:
associationTypes- Filter by association types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationTypesWithStrings
Filter by association types.
- Parameters:
associationTypes- Filter by association types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationTypes
Filter by association types.
- Parameters:
associationTypes- Filter by association types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationTypes
Filter by association types.
- Parameters:
associationTypes- Filter by association types.- 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.
-
programManagementAccountIdentifiers
ListRelationshipsRequest.Builder programManagementAccountIdentifiers(Collection<String> programManagementAccountIdentifiers) Filter by program management account identifiers.
- Parameters:
programManagementAccountIdentifiers- Filter by program management account identifiers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
programManagementAccountIdentifiers
ListRelationshipsRequest.Builder programManagementAccountIdentifiers(String... programManagementAccountIdentifiers) Filter by program management account identifiers.
- Parameters:
programManagementAccountIdentifiers- Filter by program management account identifiers.- 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
Sorting options for the results.
This is a convenience method that creates an instance of theListRelationshipsSortBase.Builderavoiding the need to create one manually viaListRelationshipsSortBase.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosort(ListRelationshipsSortBase).- Parameters:
sort- a consumer that will call methods onListRelationshipsSortBase.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
ListRelationshipsRequest.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
ListRelationshipsRequest.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.
-