@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PayloadTooLargeException extends AmazonAppConfigException
The configuration size is too large.
AmazonServiceException.ErrorType
Constructor and Description |
---|
PayloadTooLargeException(String message)
Constructs a new PayloadTooLargeException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
Float |
getLimit() |
String |
getMeasure() |
Float |
getSize() |
void |
setLimit(Float limit) |
void |
setMeasure(String measure) |
void |
setSize(Float size) |
PayloadTooLargeException |
withLimit(Float limit) |
PayloadTooLargeException |
withMeasure(BytesMeasure measure) |
PayloadTooLargeException |
withMeasure(String measure) |
PayloadTooLargeException |
withSize(Float size) |
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public PayloadTooLargeException(String message)
message
- Describes the error encountered.public void setMeasure(String measure)
measure
- BytesMeasure
public String getMeasure()
BytesMeasure
public PayloadTooLargeException withMeasure(String measure)
measure
- BytesMeasure
public PayloadTooLargeException withMeasure(BytesMeasure measure)
measure
- BytesMeasure
public void setLimit(Float limit)
limit
- public Float getLimit()
public PayloadTooLargeException withLimit(Float limit)
limit
- public void setSize(Float size)
size
- public Float getSize()
public PayloadTooLargeException withSize(Float size)
size
-