@Generated(value="software.amazon.awssdk:codegen") public final class UnauthorizedClientException extends ChimeException implements ToCopyableBuilder<UnauthorizedClientException.Builder,UnauthorizedClientException>
The client is not currently authorized to make the request.
Modifier and Type | Class and Description |
---|---|
static interface |
UnauthorizedClientException.Builder |
Modifier and Type | Method and Description |
---|---|
static UnauthorizedClientException.Builder |
builder() |
ErrorCode |
code()
Returns the value of the Code property for this object.
|
String |
codeAsString()
Returns the value of the Code property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UnauthorizedClientException.Builder> |
serializableBuilderClass() |
UnauthorizedClientException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException . |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
requestId, statusCode
retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
public UnauthorizedClientException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<UnauthorizedClientException.Builder,UnauthorizedClientException>
toBuilder
in class ChimeException
public static UnauthorizedClientException.Builder builder()
public static Class<? extends UnauthorizedClientException.Builder> serializableBuilderClass()
public ErrorCode code()
If the service returns an enum value that is not available in the current SDK version, code
will return
ErrorCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
codeAsString()
.
ErrorCode
public String codeAsString()
If the service returns an enum value that is not available in the current SDK version, code
will return
ErrorCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
codeAsString()
.
ErrorCode
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.