@Generated(value="software.amazon.awssdk:codegen") public final class UnauthenticatedException extends LightsailException implements ToCopyableBuilder<UnauthenticatedException.Builder,UnauthenticatedException>
Lightsail throws this exception when the user has not been authenticated.
Modifier and Type | Class and Description |
---|---|
static interface |
UnauthenticatedException.Builder |
Modifier and Type | Method and Description |
---|---|
static UnauthenticatedException.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.
|
static Class<? extends UnauthenticatedException.Builder> |
serializableBuilderClass() |
String |
tip()
Returns the value of the Tip property for this object.
|
UnauthenticatedException.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 UnauthenticatedException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<UnauthenticatedException.Builder,UnauthenticatedException>
toBuilder
in class LightsailException
public static UnauthenticatedException.Builder builder()
public static Class<? extends UnauthenticatedException.Builder> serializableBuilderClass()
public String code()
public String docs()
public String tip()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.