@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnauthorizedException extends AmazonChimeSDKMeetingsException
The user isn't authorized to request a resource.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
UnauthorizedException(String message)
Constructs a new UnauthorizedException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
String |
getRequestId()
The request id associated with the call responsible for the exception.
|
void |
setCode(String code) |
void |
setRequestId(String requestId)
The request id associated with the call responsible for the exception.
|
UnauthorizedException |
withCode(String code) |
UnauthorizedException |
withRequestId(String requestId)
The request id associated with the call responsible for the exception.
|
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 UnauthorizedException(String message)
message - Describes the error encountered.public void setCode(String code)
code - public String getCode()
public UnauthorizedException withCode(String code)
code - public void setRequestId(String requestId)
The request id associated with the call responsible for the exception.
setRequestId in class AmazonServiceExceptionrequestId - The request id associated with the call responsible for the exception.public String getRequestId()
The request id associated with the call responsible for the exception.
getRequestId in class AmazonServiceExceptionpublic UnauthorizedException withRequestId(String requestId)
The request id associated with the call responsible for the exception.
requestId - The request id associated with the call responsible for the exception.