@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DisableFastSnapshotRestoreStateError extends Object implements Serializable, Cloneable
Describes an error that occurred when disabling fast snapshot restores.
Constructor and Description |
---|
DisableFastSnapshotRestoreStateError() |
Modifier and Type | Method and Description |
---|---|
DisableFastSnapshotRestoreStateError |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The error code.
|
String |
getMessage()
The error message.
|
int |
hashCode() |
void |
setCode(String code)
The error code.
|
void |
setMessage(String message)
The error message.
|
String |
toString()
Returns a string representation of this object.
|
DisableFastSnapshotRestoreStateError |
withCode(String code)
The error code.
|
DisableFastSnapshotRestoreStateError |
withMessage(String message)
The error message.
|
public DisableFastSnapshotRestoreStateError()
public void setCode(String code)
The error code.
code
- The error code.public String getCode()
The error code.
public DisableFastSnapshotRestoreStateError withCode(String code)
The error code.
code
- The error code.public void setMessage(String message)
The error message.
message
- The error message.public String getMessage()
The error message.
public DisableFastSnapshotRestoreStateError withMessage(String message)
The error message.
message
- The error message.public String toString()
toString
in class Object
Object.toString()
public DisableFastSnapshotRestoreStateError clone()