public static interface TransactionCanceledException.Builder extends SdkPojo, CopyableBuilder<TransactionCanceledException.Builder,TransactionCanceledException>, DynamoDbException.Builder
Modifier and Type | Method and Description |
---|---|
TransactionCanceledException.Builder |
awsErrorDetails(AwsErrorDetails awsErrorDetails) |
TransactionCanceledException.Builder |
cancellationReasons(CancellationReason... cancellationReasons)
A list of cancellation reasons.
|
TransactionCanceledException.Builder |
cancellationReasons(Collection<CancellationReason> cancellationReasons)
A list of cancellation reasons.
|
TransactionCanceledException.Builder |
cancellationReasons(Consumer<CancellationReason.Builder>... cancellationReasons)
A list of cancellation reasons.
|
TransactionCanceledException.Builder |
cause(Throwable cause) |
TransactionCanceledException.Builder |
message(String message) |
TransactionCanceledException.Builder |
requestId(String requestId) |
TransactionCanceledException.Builder |
statusCode(int statusCode) |
copy
applyMutation, build
awsErrorDetails, build, clockSkew, clockSkew, extendedRequestId
extendedRequestId, requestId, statusCode
cause, message
equalsBySdkFields, sdkFields
TransactionCanceledException.Builder cancellationReasons(Collection<CancellationReason> cancellationReasons)
A list of cancellation reasons.
cancellationReasons
- A list of cancellation reasons.TransactionCanceledException.Builder cancellationReasons(CancellationReason... cancellationReasons)
A list of cancellation reasons.
cancellationReasons
- A list of cancellation reasons.TransactionCanceledException.Builder cancellationReasons(Consumer<CancellationReason.Builder>... cancellationReasons)
A list of cancellation reasons.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #cancellationReasons(List)
.cancellationReasons
- a consumer that will call methods on List.Builder
#cancellationReasons(List)
TransactionCanceledException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
awsErrorDetails
in interface AwsServiceException.Builder
awsErrorDetails
in interface DynamoDbException.Builder
TransactionCanceledException.Builder message(String message)
message
in interface AwsServiceException.Builder
message
in interface DynamoDbException.Builder
message
in interface SdkException.Builder
message
in interface SdkServiceException.Builder
TransactionCanceledException.Builder requestId(String requestId)
requestId
in interface AwsServiceException.Builder
requestId
in interface DynamoDbException.Builder
requestId
in interface SdkServiceException.Builder
TransactionCanceledException.Builder statusCode(int statusCode)
statusCode
in interface AwsServiceException.Builder
statusCode
in interface DynamoDbException.Builder
statusCode
in interface SdkServiceException.Builder
TransactionCanceledException.Builder cause(Throwable cause)
cause
in interface AwsServiceException.Builder
cause
in interface DynamoDbException.Builder
cause
in interface SdkException.Builder
cause
in interface SdkServiceException.Builder
Copyright © 2020. All rights reserved.