@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BadRequestException extends AWSAppConfigDataException
The input fails to satisfy the constraints specified by the service.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
BadRequestException(String message)
Constructs a new BadRequestException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
BadRequestDetails |
getDetails()
Details describing why the request was invalid
|
String |
getReason()
Code indicating the reason the request was invalid.
|
void |
setDetails(BadRequestDetails details)
Details describing why the request was invalid
|
void |
setReason(String reason)
Code indicating the reason the request was invalid.
|
BadRequestException |
withDetails(BadRequestDetails details)
Details describing why the request was invalid
|
BadRequestException |
withReason(BadRequestReason reason)
Code indicating the reason the request was invalid.
|
BadRequestException |
withReason(String reason)
Code indicating the reason the request was invalid.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BadRequestException(String message)
message - Describes the error encountered.public void setDetails(BadRequestDetails details)
Details describing why the request was invalid
details - Details describing why the request was invalidpublic BadRequestDetails getDetails()
Details describing why the request was invalid
public BadRequestException withDetails(BadRequestDetails details)
Details describing why the request was invalid
details - Details describing why the request was invalidpublic void setReason(String reason)
Code indicating the reason the request was invalid.
reason - Code indicating the reason the request was invalid.BadRequestReasonpublic String getReason()
Code indicating the reason the request was invalid.
BadRequestReasonpublic BadRequestException withReason(String reason)
Code indicating the reason the request was invalid.
reason - Code indicating the reason the request was invalid.BadRequestReasonpublic BadRequestException withReason(BadRequestReason reason)
Code indicating the reason the request was invalid.
reason - Code indicating the reason the request was invalid.BadRequestReasonCopyright © 2021. All rights reserved.