Interface CancelConnectionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CancelConnectionRequest.Builder,,CancelConnectionRequest> PartnerCentralAccountRequest.Builder,SdkBuilder<CancelConnectionRequest.Builder,,CancelConnectionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CancelConnectionRequest
@Mutable
@NotThreadSafe
public static interface CancelConnectionRequest.Builder
extends PartnerCentralAccountRequest.Builder, SdkPojo, CopyableBuilder<CancelConnectionRequest.Builder,CancelConnectionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe catalog identifier where the connection exists.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.connectionType(String connectionType) The type of connection to cancel (e.g., reseller, distributor, technology partner).connectionType(ConnectionType connectionType) The type of connection to cancel (e.g., reseller, distributor, technology partner).identifier(String identifier) The unique identifier of the connection to cancel.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The reason for canceling the connection, providing context for the termination.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.partnercentralaccount.model.PartnerCentralAccountRequest.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 where the connection exists.
- Parameters:
catalog- The catalog identifier where the connection exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifier
The unique identifier of the connection to cancel.
- Parameters:
identifier- The unique identifier of the connection to cancel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionType
The type of connection to cancel (e.g., reseller, distributor, technology partner).
- Parameters:
connectionType- The type of connection to cancel (e.g., reseller, distributor, technology partner).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionType
The type of connection to cancel (e.g., reseller, distributor, technology partner).
- Parameters:
connectionType- The type of connection to cancel (e.g., reseller, distributor, technology partner).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reason
The reason for canceling the connection, providing context for the termination.
- Parameters:
reason- The reason for canceling the connection, providing context for the termination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CancelConnectionRequest.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
CancelConnectionRequest.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.
-