@Generated(value="software.amazon.awssdk:codegen") public final class BadRequestException extends AppSyncException implements ToCopyableBuilder<BadRequestException.Builder,BadRequestException>
The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and then try again.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BadRequestException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BadRequestException.Builder |
builder() |
BadRequestDetail |
detail()
Returns the value of the Detail property for this object.
|
BadRequestReason |
reason()
Returns the value of the Reason property for this object.
|
String |
reasonAsString()
Returns the value of the Reason property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BadRequestException.Builder> |
serializableBuilderClass() |
BadRequestException.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 BadRequestException.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BadRequestException.Builder,BadRequestException>toBuilder in class AppSyncExceptionpublic static BadRequestException.Builder builder()
public static Class<? extends BadRequestException.Builder> serializableBuilderClass()
public BadRequestReason reason()
If the service returns an enum value that is not available in the current SDK version, reason will
return BadRequestReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
reasonAsString().
BadRequestReasonpublic String reasonAsString()
If the service returns an enum value that is not available in the current SDK version, reason will
return BadRequestReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
reasonAsString().
BadRequestReasonpublic BadRequestDetail detail()
Copyright © 2023. All rights reserved.