@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ErrorInfo extends Object implements Serializable, Cloneable, StructuredPojo
Provides error information.
Constructor and Description |
---|
ErrorInfo() |
Modifier and Type | Method and Description |
---|---|
ErrorInfo |
clone() |
boolean |
equals(Object obj) |
String |
getCause()
Error cause.
|
String |
getDetails()
Error details.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCause(String cause)
Error cause.
|
void |
setDetails(String details)
Error details.
|
String |
toString()
Returns a string representation of this object.
|
ErrorInfo |
withCause(String cause)
Error cause.
|
ErrorInfo |
withDetails(String details)
Error details.
|
public void setCause(String cause)
Error cause.
cause
- Error cause.public String getCause()
Error cause.
public ErrorInfo withCause(String cause)
Error cause.
cause
- Error cause.public void setDetails(String details)
Error details.
details
- Error details.public String getDetails()
Error details.
public ErrorInfo withDetails(String details)
Error details.
details
- Error details.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.