@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ErrorDetails extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
ErrorDetails() |
Modifier and Type | Method and Description |
---|---|
ErrorDetails |
clone() |
boolean |
equals(Object obj) |
String |
getErrorMessage() |
String |
getErrorType() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorMessage(String errorMessage) |
void |
setErrorType(String errorType) |
String |
toString()
Returns a string representation of this object.
|
ErrorDetails |
withErrorMessage(String errorMessage) |
ErrorDetails |
withErrorType(String errorType) |
public void setErrorType(String errorType)
errorType
- public String getErrorType()
public ErrorDetails withErrorType(String errorType)
errorType
- public void setErrorMessage(String errorMessage)
errorMessage
- public String getErrorMessage()
public ErrorDetails withErrorMessage(String errorMessage)
errorMessage
- public String toString()
toString
in class Object
Object.toString()
public ErrorDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.