public class InsufficientPermissionsException extends AmazonServiceException
The account does not have sufficient permission to perform the operation.
AmazonServiceException.ErrorType
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
requestId |
private static long |
serialVersionUID |
Constructor and Description |
---|
InsufficientPermissionsException(java.lang.String message)
Constructs a new InsufficientPermissionsException with the specified
error message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getRequestId()
Returns the AWS request ID that uniquely identifies the service request
the caller made.
|
void |
setRequestId(java.lang.String requestId)
Sets the AWS requestId for this exception.
|
InsufficientPermissionsException |
withRequestId(java.lang.String requestId) |
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setServiceName, setStatusCode
isRetryable
private static final long serialVersionUID
private java.lang.String requestId
public InsufficientPermissionsException(java.lang.String message)
message
- Describes the error encountered.public void setRequestId(java.lang.String requestId)
AmazonServiceException
setRequestId
in class AmazonServiceException
requestId
- public java.lang.String getRequestId()
AmazonServiceException
getRequestId
in class AmazonServiceException
public InsufficientPermissionsException withRequestId(java.lang.String requestId)
requestId
-