@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecoverySnapshot extends Object implements Serializable, Cloneable, StructuredPojo
A snapshot of a Source Server used during recovery.
Constructor and Description |
---|
RecoverySnapshot() |
Modifier and Type | Method and Description |
---|---|
RecoverySnapshot |
clone() |
boolean |
equals(Object obj) |
List<String> |
getEbsSnapshots()
A list of EBS snapshots.
|
String |
getExpectedTimestamp()
The timestamp of when we expect the snapshot to be taken.
|
String |
getSnapshotID()
The ID of the Recovery Snapshot.
|
String |
getSourceServerID()
The ID of the Source Server that the snapshot was taken for.
|
String |
getTimestamp()
The actual timestamp that the snapshot was taken.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEbsSnapshots(Collection<String> ebsSnapshots)
A list of EBS snapshots.
|
void |
setExpectedTimestamp(String expectedTimestamp)
The timestamp of when we expect the snapshot to be taken.
|
void |
setSnapshotID(String snapshotID)
The ID of the Recovery Snapshot.
|
void |
setSourceServerID(String sourceServerID)
The ID of the Source Server that the snapshot was taken for.
|
void |
setTimestamp(String timestamp)
The actual timestamp that the snapshot was taken.
|
String |
toString()
Returns a string representation of this object.
|
RecoverySnapshot |
withEbsSnapshots(Collection<String> ebsSnapshots)
A list of EBS snapshots.
|
RecoverySnapshot |
withEbsSnapshots(String... ebsSnapshots)
A list of EBS snapshots.
|
RecoverySnapshot |
withExpectedTimestamp(String expectedTimestamp)
The timestamp of when we expect the snapshot to be taken.
|
RecoverySnapshot |
withSnapshotID(String snapshotID)
The ID of the Recovery Snapshot.
|
RecoverySnapshot |
withSourceServerID(String sourceServerID)
The ID of the Source Server that the snapshot was taken for.
|
RecoverySnapshot |
withTimestamp(String timestamp)
The actual timestamp that the snapshot was taken.
|
public List<String> getEbsSnapshots()
A list of EBS snapshots.
public void setEbsSnapshots(Collection<String> ebsSnapshots)
A list of EBS snapshots.
ebsSnapshots
- A list of EBS snapshots.public RecoverySnapshot withEbsSnapshots(String... ebsSnapshots)
A list of EBS snapshots.
NOTE: This method appends the values to the existing list (if any). Use
setEbsSnapshots(java.util.Collection)
or withEbsSnapshots(java.util.Collection)
if you want to
override the existing values.
ebsSnapshots
- A list of EBS snapshots.public RecoverySnapshot withEbsSnapshots(Collection<String> ebsSnapshots)
A list of EBS snapshots.
ebsSnapshots
- A list of EBS snapshots.public void setExpectedTimestamp(String expectedTimestamp)
The timestamp of when we expect the snapshot to be taken.
expectedTimestamp
- The timestamp of when we expect the snapshot to be taken.public String getExpectedTimestamp()
The timestamp of when we expect the snapshot to be taken.
public RecoverySnapshot withExpectedTimestamp(String expectedTimestamp)
The timestamp of when we expect the snapshot to be taken.
expectedTimestamp
- The timestamp of when we expect the snapshot to be taken.public void setSnapshotID(String snapshotID)
The ID of the Recovery Snapshot.
snapshotID
- The ID of the Recovery Snapshot.public String getSnapshotID()
The ID of the Recovery Snapshot.
public RecoverySnapshot withSnapshotID(String snapshotID)
The ID of the Recovery Snapshot.
snapshotID
- The ID of the Recovery Snapshot.public void setSourceServerID(String sourceServerID)
The ID of the Source Server that the snapshot was taken for.
sourceServerID
- The ID of the Source Server that the snapshot was taken for.public String getSourceServerID()
The ID of the Source Server that the snapshot was taken for.
public RecoverySnapshot withSourceServerID(String sourceServerID)
The ID of the Source Server that the snapshot was taken for.
sourceServerID
- The ID of the Source Server that the snapshot was taken for.public void setTimestamp(String timestamp)
The actual timestamp that the snapshot was taken.
timestamp
- The actual timestamp that the snapshot was taken.public String getTimestamp()
The actual timestamp that the snapshot was taken.
public RecoverySnapshot withTimestamp(String timestamp)
The actual timestamp that the snapshot was taken.
timestamp
- The actual timestamp that the snapshot was taken.public String toString()
toString
in class Object
Object.toString()
public RecoverySnapshot clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.