@Generated(value="software.amazon.awssdk:codegen") public final class ValidationException extends DataExchangeException implements ToCopyableBuilder<ValidationException.Builder,ValidationException>
The request was invalid.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ValidationException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ValidationException.Builder |
builder() |
ExceptionCause |
exceptionCause()
The unique identifier for the resource that couldn't be found.
|
String |
exceptionCauseAsString()
The unique identifier for the resource that couldn't be found.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ValidationException.Builder> |
serializableBuilderClass() |
ValidationException.Builder |
toBuilder() |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionextendedRequestId, requestId, statusCodecreate, retryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopyequalsBySdkFieldspublic ValidationException.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ValidationException.Builder,ValidationException>toBuilder in class DataExchangeExceptionpublic static ValidationException.Builder builder()
public static Class<? extends ValidationException.Builder> serializableBuilderClass()
public ExceptionCause exceptionCause()
The unique identifier for the resource that couldn't be found.
If the service returns an enum value that is not available in the current SDK version, exceptionCause
will return ExceptionCause.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from exceptionCauseAsString().
ExceptionCausepublic String exceptionCauseAsString()
The unique identifier for the resource that couldn't be found.
If the service returns an enum value that is not available in the current SDK version, exceptionCause
will return ExceptionCause.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from exceptionCauseAsString().
ExceptionCauseCopyright © 2023. All rights reserved.