@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyEnforcedException extends AmazonGlacierException
Returned if a retrieval job would exceed the current data policy's retrieval rate limit. For more information about data retrieval policies,
AmazonServiceException.ErrorType
Constructor and Description |
---|
PolicyEnforcedException(String message)
Constructs a new PolicyEnforcedException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode()
PolicyEnforcedException
|
String |
getType()
Client
|
void |
setCode(String code)
PolicyEnforcedException
|
void |
setType(String type)
Client
|
PolicyEnforcedException |
withCode(String code)
PolicyEnforcedException
|
PolicyEnforcedException |
withType(String type)
Client
|
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 PolicyEnforcedException(String message)
message
- Describes the error encountered.public void setType(String type)
Client
type
- Clientpublic String getType()
Client
public PolicyEnforcedException withType(String type)
Client
type
- Clientpublic void setCode(String code)
PolicyEnforcedException
code
- PolicyEnforcedExceptionpublic String getCode()
PolicyEnforcedException
public PolicyEnforcedException withCode(String code)
PolicyEnforcedException
code
- PolicyEnforcedExceptionCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.