@Generated(value="software.amazon.awssdk:codegen") public final class ErrorDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ErrorDetails.Builder,ErrorDetails>
Describes in-depth details about the error. These details include the possible causes of the error and troubleshooting information.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ErrorDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ErrorDetails.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
WorkspaceImageErrorDetailCode |
errorCode()
Indicates the error code returned.
|
String |
errorCodeAsString()
Indicates the error code returned.
|
String |
errorMessage()
The text of the error message related the error code.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ErrorDetails.Builder> |
serializableBuilderClass() |
ErrorDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final WorkspaceImageErrorDetailCode errorCode()
Indicates the error code returned.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return WorkspaceImageErrorDetailCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from errorCodeAsString().
WorkspaceImageErrorDetailCodepublic final String errorCodeAsString()
Indicates the error code returned.
If the service returns an enum value that is not available in the current SDK version, errorCode will
return WorkspaceImageErrorDetailCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from errorCodeAsString().
WorkspaceImageErrorDetailCodepublic final String errorMessage()
The text of the error message related the error code.
public ErrorDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ErrorDetails.Builder,ErrorDetails>public static ErrorDetails.Builder builder()
public static Class<? extends ErrorDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.