Interface SendAgreementCancellationRequestRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SendAgreementCancellationRequestRequest.Builder,,SendAgreementCancellationRequestRequest> MarketplaceAgreementRequest.Builder,SdkBuilder<SendAgreementCancellationRequestRequest.Builder,,SendAgreementCancellationRequestRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SendAgreementCancellationRequestRequest
-
Method Summary
Modifier and TypeMethodDescriptionagreementId(String agreementId) The unique identifier of the agreement for which the cancellation request is being submitted.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.description(String description) An optional detailed description of the cancellation reason (1-2000 characters).overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.reasonCode(String reasonCode) The reason code for the cancellation request.reasonCode(AgreementCancellationRequestReasonCode reasonCode) The reason code for the cancellation request.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.marketplaceagreement.model.MarketplaceAgreementRequest.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
-
agreementId
The unique identifier of the agreement for which the cancellation request is being submitted.
- Parameters:
agreementId- The unique identifier of the agreement for which the cancellation request is being submitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reasonCode
The reason code for the cancellation request. Valid values include
INCORRECT_TERMS_ACCEPTED,REPLACING_AGREEMENT,TEST_AGREEMENT,ALTERNATIVE_PROCUREMENT_CHANNEL,PRODUCT_DISCONTINUED,UNINTENDED_RENEWAL,BUYER_DISSATISFACTION, andOTHER.- Parameters:
reasonCode- The reason code for the cancellation request. Valid values includeINCORRECT_TERMS_ACCEPTED,REPLACING_AGREEMENT,TEST_AGREEMENT,ALTERNATIVE_PROCUREMENT_CHANNEL,PRODUCT_DISCONTINUED,UNINTENDED_RENEWAL,BUYER_DISSATISFACTION, andOTHER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reasonCode
SendAgreementCancellationRequestRequest.Builder reasonCode(AgreementCancellationRequestReasonCode reasonCode) The reason code for the cancellation request. Valid values include
INCORRECT_TERMS_ACCEPTED,REPLACING_AGREEMENT,TEST_AGREEMENT,ALTERNATIVE_PROCUREMENT_CHANNEL,PRODUCT_DISCONTINUED,UNINTENDED_RENEWAL,BUYER_DISSATISFACTION, andOTHER.- Parameters:
reasonCode- The reason code for the cancellation request. Valid values includeINCORRECT_TERMS_ACCEPTED,REPLACING_AGREEMENT,TEST_AGREEMENT,ALTERNATIVE_PROCUREMENT_CHANNEL,PRODUCT_DISCONTINUED,UNINTENDED_RENEWAL,BUYER_DISSATISFACTION, andOTHER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
description
An optional detailed description of the cancellation reason (1-2000 characters).
- Parameters:
description- An optional detailed description of the cancellation reason (1-2000 characters).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SendAgreementCancellationRequestRequest.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
SendAgreementCancellationRequestRequest.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.
-