Interface SendAgreementCancellationRequestResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<SendAgreementCancellationRequestResponse.Builder,,SendAgreementCancellationRequestResponse> MarketplaceAgreementResponse.Builder,SdkBuilder<SendAgreementCancellationRequestResponse.Builder,,SendAgreementCancellationRequestResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
SendAgreementCancellationRequestResponse
@Mutable
@NotThreadSafe
public static interface SendAgreementCancellationRequestResponse.Builder
extends MarketplaceAgreementResponse.Builder, SdkPojo, CopyableBuilder<SendAgreementCancellationRequestResponse.Builder,SendAgreementCancellationRequestResponse>
-
Method Summary
Modifier and TypeMethodDescriptionagreementCancellationRequestId(String agreementCancellationRequestId) The unique identifier for the created cancellation request.agreementId(String agreementId) The unique identifier of the agreement.The time when the cancellation request was created.description(String description) The detailed description of the cancellation reason, if provided.reasonCode(String reasonCode) The reason code provided for the cancellation.reasonCode(AgreementCancellationRequestReasonCode reasonCode) The reason code provided for the cancellation.The current status of the cancellation request.The current status of the cancellation request.The time when the cancellation request was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.marketplaceagreement.model.MarketplaceAgreementResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
agreementId
The unique identifier of the agreement.
- Parameters:
agreementId- The unique identifier of the agreement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agreementCancellationRequestId
SendAgreementCancellationRequestResponse.Builder agreementCancellationRequestId(String agreementCancellationRequestId) The unique identifier for the created cancellation request.
- Parameters:
agreementCancellationRequestId- The unique identifier for the created cancellation request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the cancellation request. The initial status is
PENDING_APPROVAL.- Parameters:
status- The current status of the cancellation request. The initial status isPENDING_APPROVAL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the cancellation request. The initial status is
PENDING_APPROVAL.- Parameters:
status- The current status of the cancellation request. The initial status isPENDING_APPROVAL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reasonCode
The reason code provided for the cancellation.
- Parameters:
reasonCode- The reason code provided for the cancellation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reasonCode
SendAgreementCancellationRequestResponse.Builder reasonCode(AgreementCancellationRequestReasonCode reasonCode) The reason code provided for the cancellation.
- Parameters:
reasonCode- The reason code provided for the cancellation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
The detailed description of the cancellation reason, if provided.
- Parameters:
description- The detailed description of the cancellation reason, if provided.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The time when the cancellation request was created.
- Parameters:
createdAt- The time when the cancellation request was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The time when the cancellation request was last updated.
- Parameters:
updatedAt- The time when the cancellation request was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-