@Generated(value="software.amazon.awssdk:codegen") public final class ErrorDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ErrorDetails.Builder,ErrorDetails>
Contains information about the reason that the operation failed.
This data type is used as a response element in the GetOrganizationsAccessReport, GetServiceLastAccessedDetails, and GetServiceLastAccessedDetailsWithEntities operations.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ErrorDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ErrorDetails.Builder |
builder() |
String |
code()
The error code associated with the operation failure.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
Detailed information about the reason that the operation failed.
|
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 String message()
Detailed information about the reason that the operation failed.
public String code()
The error code associated with the operation failure.
public ErrorDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ErrorDetails.Builder,ErrorDetails>public static ErrorDetails.Builder builder()
public static Class<? extends ErrorDetails.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.