@Generated(value="software.amazon.awssdk:codegen") public final class ValidationException extends PcaConnectorAdException implements ToCopyableBuilder<ValidationException.Builder,ValidationException>
An input validation error occurred. For example, invalid characters in a template name, or if a pagination token is invalid.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ValidationException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ValidationException.Builder |
builder() |
ValidationExceptionReason |
reason()
The reason for the validation error.
|
String |
reasonAsString()
The reason for the validation error.
|
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 PcaConnectorAdExceptionpublic static ValidationException.Builder builder()
public static Class<? extends ValidationException.Builder> serializableBuilderClass()
public ValidationExceptionReason reason()
The reason for the validation error. This won't be return for every validation exception.
If the service returns an enum value that is not available in the current SDK version, reason will
return ValidationExceptionReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from reasonAsString().
ValidationExceptionReasonpublic String reasonAsString()
The reason for the validation error. This won't be return for every validation exception.
If the service returns an enum value that is not available in the current SDK version, reason will
return ValidationExceptionReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from reasonAsString().
ValidationExceptionReasonCopyright © 2023. All rights reserved.