@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InsufficientCapacityException extends AmazonGlacierException
Returned if there is insufficient capacity to process this expedited request. This error only applies to expedited retrievals and not to standard or bulk retrievals.
AmazonServiceException.ErrorType
Constructor and Description |
---|
InsufficientCapacityException(String message)
Constructs a new InsufficientCapacityException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
String |
getType() |
void |
setCode(String code) |
void |
setType(String type) |
InsufficientCapacityException |
withCode(String code) |
InsufficientCapacityException |
withType(String type) |
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InsufficientCapacityException(String message)
message
- Describes the error encountered.public void setType(String type)
type
- public String getType()
public InsufficientCapacityException withType(String type)
type
- public void setCode(String code)
code
- public String getCode()
public InsufficientCapacityException withCode(String code)
code
- Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.