Interface CreateChannelHandshakeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateChannelHandshakeRequest.Builder,,CreateChannelHandshakeRequest> PartnerCentralChannelRequest.Builder,SdkBuilder<CreateChannelHandshakeRequest.Builder,,CreateChannelHandshakeRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateChannelHandshakeRequest
-
Method Summary
Modifier and TypeMethodDescriptionassociatedResourceIdentifier(String associatedResourceIdentifier) The identifier of the resource associated with this handshake.The catalog identifier for the handshake request.clientToken(String clientToken) A unique, case-sensitive identifier to ensure idempotency of the request.handshakeType(String handshakeType) The type of handshake to create (e.g., start service period, revoke service period).handshakeType(HandshakeType handshakeType) The type of handshake to create (e.g., start service period, revoke service period).overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.payload(Consumer<ChannelHandshakePayload.Builder> payload) The payload containing specific details for the handshake type.payload(ChannelHandshakePayload payload) The payload containing specific details for the handshake type.tags(Collection<Tag> tags) Key-value pairs to associate with the channel handshake.tags(Consumer<Tag.Builder>... tags) Key-value pairs to associate with the channel handshake.Key-value pairs to associate with the channel handshake.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
-
handshakeType
The type of handshake to create (e.g., start service period, revoke service period).
- Parameters:
handshakeType- The type of handshake to create (e.g., start service period, revoke service period).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
handshakeType
The type of handshake to create (e.g., start service period, revoke service period).
- Parameters:
handshakeType- The type of handshake to create (e.g., start service period, revoke service period).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
catalog
The catalog identifier for the handshake request.
- Parameters:
catalog- The catalog identifier for the handshake request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedResourceIdentifier
CreateChannelHandshakeRequest.Builder associatedResourceIdentifier(String associatedResourceIdentifier) The identifier of the resource associated with this handshake.
- Parameters:
associatedResourceIdentifier- The identifier of the resource associated with this handshake.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
The payload containing specific details for the handshake type.
- Parameters:
payload- The payload containing specific details for the handshake type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
payload
default CreateChannelHandshakeRequest.Builder payload(Consumer<ChannelHandshakePayload.Builder> payload) The payload containing specific details for the handshake type.
This is a convenience method that creates an instance of theChannelHandshakePayload.Builderavoiding the need to create one manually viaChannelHandshakePayload.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topayload(ChannelHandshakePayload).- Parameters:
payload- a consumer that will call methods onChannelHandshakePayload.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 handshake.
- Parameters:
tags- Key-value pairs to associate with the channel handshake.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs to associate with the channel handshake.
- Parameters:
tags- Key-value pairs to associate with the channel handshake.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs to associate with the channel handshake.
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
CreateChannelHandshakeRequest.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
CreateChannelHandshakeRequest.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.
-