@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Snapshot extends Object implements Serializable, Cloneable, StructuredPojo
Describes a snapshot.
| Constructor and Description |
|---|
Snapshot() |
| Modifier and Type | Method and Description |
|---|---|
Snapshot |
clone() |
boolean |
equals(Object obj) |
Date |
getSnapshotTime()
The time when the snapshot was created.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSnapshotTime(Date snapshotTime)
The time when the snapshot was created.
|
String |
toString()
Returns a string representation of this object.
|
Snapshot |
withSnapshotTime(Date snapshotTime)
The time when the snapshot was created.
|
public void setSnapshotTime(Date snapshotTime)
The time when the snapshot was created.
snapshotTime - The time when the snapshot was created.public Date getSnapshotTime()
The time when the snapshot was created.
public Snapshot withSnapshotTime(Date snapshotTime)
The time when the snapshot was created.
snapshotTime - The time when the snapshot was created.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.