Interface ListChannelContractsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListChannelContractsRequest.Builder,,ListChannelContractsRequest> PartnerCentralChannelRequest.Builder,SdkBuilder<ListChannelContractsRequest.Builder,,ListChannelContractsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListChannelContractsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe catalog identifier to filter channel contracts.contractType(String contractType) Filter results by contract type.contractType(ChannelContractType contractType) Filter results by contract type.contractTypeFilters(Consumer<ListChannelContractsTypeFilters.Builder> contractTypeFilters) Type-specific filters for channel contracts.contractTypeFilters(ListChannelContractsTypeFilters contractTypeFilters) Type-specific filters for channel contracts.contractTypeSort(Consumer<ListChannelContractsTypeSort.Builder> contractTypeSort) Type-specific sorting options for channel contracts.contractTypeSort(ListChannelContractsTypeSort contractTypeSort) Type-specific sorting options for channel contracts.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.statuses(Collection<ChannelContractStatus> statuses) Filter results by channel contract status.statuses(ChannelContractStatus... statuses) Filter results by channel contract status.statusesWithStrings(String... statuses) Filter results by channel contract status.statusesWithStrings(Collection<String> statuses) Filter results by channel contract status.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 channel contracts.
- Parameters:
catalog- The catalog identifier to filter channel contracts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contractType
Filter results by contract type.
- Parameters:
contractType- Filter results by contract type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contractType
Filter results by contract type.
- Parameters:
contractType- Filter results by contract type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusesWithStrings
Filter results by channel contract status.
- Parameters:
statuses- Filter results by channel contract status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusesWithStrings
Filter results by channel contract status.
- Parameters:
statuses- Filter results by channel contract status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statuses
Filter results by channel contract status.
- Parameters:
statuses- Filter results by channel contract status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statuses
Filter results by channel contract status.
- Parameters:
statuses- Filter results by channel contract status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contractTypeFilters
ListChannelContractsRequest.Builder contractTypeFilters(ListChannelContractsTypeFilters contractTypeFilters) Type-specific filters for channel contracts.
- Parameters:
contractTypeFilters- Type-specific filters for channel contracts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contractTypeFilters
default ListChannelContractsRequest.Builder contractTypeFilters(Consumer<ListChannelContractsTypeFilters.Builder> contractTypeFilters) Type-specific filters for channel contracts.
This is a convenience method that creates an instance of theListChannelContractsTypeFilters.Builderavoiding the need to create one manually viaListChannelContractsTypeFilters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontractTypeFilters(ListChannelContractsTypeFilters).- Parameters:
contractTypeFilters- a consumer that will call methods onListChannelContractsTypeFilters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contractTypeSort
Type-specific sorting options for channel contracts.
- Parameters:
contractTypeSort- Type-specific sorting options for channel contracts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contractTypeSort
default ListChannelContractsRequest.Builder contractTypeSort(Consumer<ListChannelContractsTypeSort.Builder> contractTypeSort) Type-specific sorting options for channel contracts.
This is a convenience method that creates an instance of theListChannelContractsTypeSort.Builderavoiding the need to create one manually viaListChannelContractsTypeSort.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontractTypeSort(ListChannelContractsTypeSort).- Parameters:
contractTypeSort- a consumer that will call methods onListChannelContractsTypeSort.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
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
ListChannelContractsRequest.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
ListChannelContractsRequest.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.
-