@Generated(value="software.amazon.awssdk:codegen") public final class ValidationException extends DetectiveException implements ToCopyableBuilder<ValidationException.Builder,ValidationException>
The request parameters are invalid.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ValidationException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ValidationException.Builder |
builder() |
ErrorCode |
errorCode()
The error code associated with the validation failure.
|
String |
errorCodeAsString()
The error code associated with the validation failure.
|
String |
errorCodeReason()
An explanation of why validation failed.
|
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 DetectiveExceptionpublic static ValidationException.Builder builder()
public static Class<? extends ValidationException.Builder> serializableBuilderClass()
public ErrorCode errorCode()
The error code associated with the validation failure.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return ErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorCodeAsString().
ErrorCodepublic String errorCodeAsString()
The error code associated with the validation failure.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return ErrorCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
errorCodeAsString().
ErrorCodepublic String errorCodeReason()
An explanation of why validation failed.
Copyright © 2022. All rights reserved.