@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ErrorDetails extends Object implements Serializable, Cloneable, StructuredPojo
Additional information if the package is in an error state. Null otherwise.
| Constructor and Description |
|---|
ErrorDetails() |
| Modifier and Type | Method and Description |
|---|---|
ErrorDetails |
clone() |
boolean |
equals(Object obj) |
String |
getErrorMessage()
A message describing the error.
|
String |
getErrorType()
The type of error that occurred.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setErrorMessage(String errorMessage)
A message describing the error.
|
void |
setErrorType(String errorType)
The type of error that occurred.
|
String |
toString()
Returns a string representation of this object.
|
ErrorDetails |
withErrorMessage(String errorMessage)
A message describing the error.
|
ErrorDetails |
withErrorType(String errorType)
The type of error that occurred.
|
public void setErrorType(String errorType)
The type of error that occurred.
errorType - The type of error that occurred.public String getErrorType()
The type of error that occurred.
public ErrorDetails withErrorType(String errorType)
The type of error that occurred.
errorType - The type of error that occurred.public void setErrorMessage(String errorMessage)
A message describing the error.
errorMessage - A message describing the error.public String getErrorMessage()
A message describing the error.
public ErrorDetails withErrorMessage(String errorMessage)
A message describing the error.
errorMessage - A message describing the error.public String toString()
toString in class ObjectObject.toString()public ErrorDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.