@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SnapshotJobErrorInfo extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains information on the error that caused the snapshot job to fail.
| Constructor and Description |
|---|
SnapshotJobErrorInfo() |
| Modifier and Type | Method and Description |
|---|---|
SnapshotJobErrorInfo |
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.
|
SnapshotJobErrorInfo |
withErrorMessage(String errorMessage)
The error message.
|
SnapshotJobErrorInfo |
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 SnapshotJobErrorInfo 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 SnapshotJobErrorInfo withErrorType(String errorType)
The error type.
errorType - The error type.public String toString()
toString in class ObjectObject.toString()public SnapshotJobErrorInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.