@Generated(value="software.amazon.awssdk:codegen") public final class ErrorDetail extends Object implements StructuredPojo, ToCopyableBuilder<ErrorDetail.Builder,ErrorDetail>
Contains details about an error.
Modifier and Type | Class and Description |
---|---|
static interface |
ErrorDetail.Builder |
Modifier and Type | Method and Description |
---|---|
static ErrorDetail.Builder |
builder() |
boolean |
equals(Object obj) |
String |
errorCode()
The code associated with this error.
|
String |
errorMessage()
A message describing the error.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends ErrorDetail.Builder> |
serializableBuilderClass() |
ErrorDetail.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String errorCode()
The code associated with this error.
public String errorMessage()
A message describing the error.
public ErrorDetail.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ErrorDetail.Builder,ErrorDetail>
public static ErrorDetail.Builder builder()
public static Class<? extends ErrorDetail.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.