@Generated(value="software.amazon.awssdk:codegen") public final class ServiceUnavailableException extends ChimeSdkMessagingException implements ToCopyableBuilder<ServiceUnavailableException.Builder,ServiceUnavailableException>
The service is currently unavailable.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ServiceUnavailableException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ServiceUnavailableException.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 ServiceUnavailableException.Builder> |
serializableBuilderClass() |
ServiceUnavailableException.Builder |
toBuilder() |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionextendedRequestId, requestId, statusCodecreate, retryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopyequalsBySdkFieldspublic ServiceUnavailableException.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ServiceUnavailableException.Builder,ServiceUnavailableException>toBuilder in class ChimeSdkMessagingExceptionpublic static ServiceUnavailableException.Builder builder()
public static Class<? extends ServiceUnavailableException.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().
ErrorCodepublic 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().
ErrorCodeCopyright © 2021. All rights reserved.