public static interface ValidationException.Builder extends SdkPojo, CopyableBuilder<ValidationException.Builder,ValidationException>, ManagedBlockchainQueryException.Builder
copyapplyMutation, buildawsErrorDetails, build, clockSkew, clockSkew, extendedRequestIdextendedRequestId, requestId, statusCodecause, message, writableStackTraceequalsBySdkFields, sdkFieldsValidationException.Builder reason(String reason)
The container for the reason for the exception
reason - The container for the reason for the exceptionValidationExceptionReason,
ValidationExceptionReasonValidationException.Builder reason(ValidationExceptionReason reason)
The container for the reason for the exception
reason - The container for the reason for the exceptionValidationExceptionReason,
ValidationExceptionReasonValidationException.Builder fieldList(Collection<ValidationExceptionField> fieldList)
The container for the fieldList of the exception.
fieldList - The container for the fieldList of the exception.ValidationException.Builder fieldList(ValidationExceptionField... fieldList)
The container for the fieldList of the exception.
fieldList - The container for the fieldList of the exception.ValidationException.Builder fieldList(Consumer<ValidationExceptionField.Builder>... fieldList)
The container for the fieldList of the exception.
ValidationExceptionField.Builder
avoiding the need to create one manually via
ValidationExceptionField.builder().
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #fieldList(List.
fieldList - a consumer that will call methods on
ValidationExceptionField.Builder#fieldList(java.util.Collection) ValidationException.Builder awsErrorDetails(AwsErrorDetails awsErrorDetails)
awsErrorDetails in interface AwsServiceException.BuilderawsErrorDetails in interface ManagedBlockchainQueryException.BuilderValidationException.Builder message(String message)
message in interface AwsServiceException.Buildermessage in interface ManagedBlockchainQueryException.Buildermessage in interface SdkException.Buildermessage in interface SdkServiceException.BuilderValidationException.Builder requestId(String requestId)
requestId in interface AwsServiceException.BuilderrequestId in interface ManagedBlockchainQueryException.BuilderrequestId in interface SdkServiceException.BuilderValidationException.Builder statusCode(int statusCode)
statusCode in interface AwsServiceException.BuilderstatusCode in interface ManagedBlockchainQueryException.BuilderstatusCode in interface SdkServiceException.BuilderValidationException.Builder cause(Throwable cause)
cause in interface AwsServiceException.Buildercause in interface ManagedBlockchainQueryException.Buildercause in interface SdkException.Buildercause in interface SdkServiceException.BuilderValidationException.Builder writableStackTrace(Boolean writableStackTrace)
writableStackTrace in interface ManagedBlockchainQueryException.BuilderwritableStackTrace in interface SdkException.BuilderwritableStackTrace in interface SdkServiceException.BuilderCopyright © 2023. All rights reserved.