@Generated(value="software.amazon.awssdk:codegen") public final class ServiceException extends LightsailException implements ToCopyableBuilder<ServiceException.Builder,ServiceException>
A general service exception.
Modifier and Type | Class and Description |
---|---|
static interface |
ServiceException.Builder |
Modifier and Type | Method and Description |
---|---|
static ServiceException.Builder |
builder() |
String |
code()
Returns the value of the Code property for this object.
|
String |
docs()
Returns the value of the Docs property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServiceException.Builder> |
serializableBuilderClass() |
String |
tip()
Returns the value of the Tip property for this object.
|
ServiceException.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 ServiceException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<ServiceException.Builder,ServiceException>
toBuilder
in class LightsailException
public static ServiceException.Builder builder()
public static Class<? extends ServiceException.Builder> serializableBuilderClass()
public String code()
public String docs()
public String tip()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.