@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SnapshotErrorMessage extends Object implements Serializable, Cloneable
Describes the errors returned by a snapshot.
| Constructor and Description |
|---|
SnapshotErrorMessage() |
| Modifier and Type | Method and Description |
|---|---|
SnapshotErrorMessage |
clone() |
boolean |
equals(Object obj) |
String |
getFailureCode()
The failure code for the error.
|
String |
getFailureReason()
The text message describing the error.
|
String |
getSnapshotClusterIdentifier()
A unique identifier for the cluster.
|
String |
getSnapshotIdentifier()
A unique identifier for the snapshot returning the error.
|
int |
hashCode() |
void |
setFailureCode(String failureCode)
The failure code for the error.
|
void |
setFailureReason(String failureReason)
The text message describing the error.
|
void |
setSnapshotClusterIdentifier(String snapshotClusterIdentifier)
A unique identifier for the cluster.
|
void |
setSnapshotIdentifier(String snapshotIdentifier)
A unique identifier for the snapshot returning the error.
|
String |
toString()
Returns a string representation of this object.
|
SnapshotErrorMessage |
withFailureCode(String failureCode)
The failure code for the error.
|
SnapshotErrorMessage |
withFailureReason(String failureReason)
The text message describing the error.
|
SnapshotErrorMessage |
withSnapshotClusterIdentifier(String snapshotClusterIdentifier)
A unique identifier for the cluster.
|
SnapshotErrorMessage |
withSnapshotIdentifier(String snapshotIdentifier)
A unique identifier for the snapshot returning the error.
|
public void setSnapshotIdentifier(String snapshotIdentifier)
A unique identifier for the snapshot returning the error.
snapshotIdentifier - A unique identifier for the snapshot returning the error.public String getSnapshotIdentifier()
A unique identifier for the snapshot returning the error.
public SnapshotErrorMessage withSnapshotIdentifier(String snapshotIdentifier)
A unique identifier for the snapshot returning the error.
snapshotIdentifier - A unique identifier for the snapshot returning the error.public void setSnapshotClusterIdentifier(String snapshotClusterIdentifier)
A unique identifier for the cluster.
snapshotClusterIdentifier - A unique identifier for the cluster.public String getSnapshotClusterIdentifier()
A unique identifier for the cluster.
public SnapshotErrorMessage withSnapshotClusterIdentifier(String snapshotClusterIdentifier)
A unique identifier for the cluster.
snapshotClusterIdentifier - A unique identifier for the cluster.public void setFailureCode(String failureCode)
The failure code for the error.
failureCode - The failure code for the error.public String getFailureCode()
The failure code for the error.
public SnapshotErrorMessage withFailureCode(String failureCode)
The failure code for the error.
failureCode - The failure code for the error.public void setFailureReason(String failureReason)
The text message describing the error.
failureReason - The text message describing the error.public String getFailureReason()
The text message describing the error.
public SnapshotErrorMessage withFailureReason(String failureReason)
The text message describing the error.
failureReason - The text message describing the error.public String toString()
toString in class ObjectObject.toString()public SnapshotErrorMessage clone()