Interface CreateChannelContractRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateChannelContractRequest.Builder,,CreateChannelContractRequest> PartnerCentralChannelRequest.Builder,SdkBuilder<CreateChannelContractRequest.Builder,,CreateChannelContractRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateChannelContractRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe catalog identifier for the channel contract.clientToken(String clientToken) A unique, case-sensitive identifier to ensure idempotency of the request.contractType(String contractType) The type of channel contract to create (for example, managed services attestation).contractType(ChannelContractType contractType) The type of channel contract to create (for example, managed services attestation).overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.payload(Consumer<ChannelContractPayload.Builder> payload) The payload containing specific details for the contract type.payload(ChannelContractPayload payload) The payload containing specific details for the contract type.tags(Collection<Tag> tags) Key-value pairs to associate with the channel contract.tags(Consumer<Tag.Builder>... tags) Key-value pairs to associate with the channel contract.Key-value pairs to associate with the channel contract.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
-
contractType
The type of channel contract to create (for example, managed services attestation).
- Parameters:
contractType- The type of channel contract to create (for example, managed services attestation).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contractType
The type of channel contract to create (for example, managed services attestation).
- Parameters:
contractType- The type of channel contract to create (for example, managed services attestation).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
catalog
The catalog identifier for the channel contract.
- Parameters:
catalog- The catalog identifier for the channel contract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
The payload containing specific details for the contract type.
- Parameters:
payload- The payload containing specific details for the contract type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
default CreateChannelContractRequest.Builder payload(Consumer<ChannelContractPayload.Builder> payload) The payload containing specific details for the contract type.
This is a convenience method that creates an instance of theChannelContractPayload.Builderavoiding the need to create one manually viaChannelContractPayload.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topayload(ChannelContractPayload).- Parameters:
payload- a consumer that will call methods onChannelContractPayload.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier to ensure idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier to ensure idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs to associate with the channel contract.
- Parameters:
tags- Key-value pairs to associate with the channel contract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs to associate with the channel contract.
- Parameters:
tags- Key-value pairs to associate with the channel contract.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs to associate with the channel contract.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateChannelContractRequest.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
CreateChannelContractRequest.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.
-