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