@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccessDeniedException extends AWSMarketplaceAgreementException
User does not have sufficient access to perform this action.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
AccessDeniedException(String message)
Constructs a new AccessDeniedException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRequestId()
The unique identifier for the error.
|
void |
setRequestId(String requestId)
The unique identifier for the error.
|
AccessDeniedException |
withRequestId(String requestId)
The unique identifier for the error.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic AccessDeniedException(String message)
message - Describes the error encountered.public void setRequestId(String requestId)
The unique identifier for the error.
setRequestId in class AmazonServiceExceptionrequestId - The unique identifier for the error.public String getRequestId()
The unique identifier for the error.
getRequestId in class AmazonServiceExceptionpublic AccessDeniedException withRequestId(String requestId)
The unique identifier for the error.
requestId - The unique identifier for the error.