@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SnapshotSummary extends Object implements Serializable, Cloneable, StructuredPojo
The summary of the properties of a snapshot.
Constructor and Description |
---|
SnapshotSummary() |
Modifier and Type | Method and Description |
---|---|
SnapshotSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreated()
The timestamp of when the snapshot was created.
|
String |
getDescription()
The description of the snapshot.
|
String |
getId()
The identifier of the snapshot.
|
Date |
getLastUpdated()
Then timestamp of when the snapshot was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreated(Date created)
The timestamp of when the snapshot was created.
|
void |
setDescription(String description)
The description of the snapshot.
|
void |
setId(String id)
The identifier of the snapshot.
|
void |
setLastUpdated(Date lastUpdated)
Then timestamp of when the snapshot was last updated.
|
String |
toString()
Returns a string representation of this object.
|
SnapshotSummary |
withCreated(Date created)
The timestamp of when the snapshot was created.
|
SnapshotSummary |
withDescription(String description)
The description of the snapshot.
|
SnapshotSummary |
withId(String id)
The identifier of the snapshot.
|
SnapshotSummary |
withLastUpdated(Date lastUpdated)
Then timestamp of when the snapshot was last updated.
|
public void setCreated(Date created)
The timestamp of when the snapshot was created.
created
- The timestamp of when the snapshot was created.public Date getCreated()
The timestamp of when the snapshot was created.
public SnapshotSummary withCreated(Date created)
The timestamp of when the snapshot was created.
created
- The timestamp of when the snapshot was created.public void setDescription(String description)
The description of the snapshot.
description
- The description of the snapshot.public String getDescription()
The description of the snapshot.
public SnapshotSummary withDescription(String description)
The description of the snapshot.
description
- The description of the snapshot.public void setId(String id)
The identifier of the snapshot.
id
- The identifier of the snapshot.public String getId()
The identifier of the snapshot.
public SnapshotSummary withId(String id)
The identifier of the snapshot.
id
- The identifier of the snapshot.public void setLastUpdated(Date lastUpdated)
Then timestamp of when the snapshot was last updated.
lastUpdated
- Then timestamp of when the snapshot was last updated.public Date getLastUpdated()
Then timestamp of when the snapshot was last updated.
public SnapshotSummary withLastUpdated(Date lastUpdated)
Then timestamp of when the snapshot was last updated.
lastUpdated
- Then timestamp of when the snapshot was last updated.public String toString()
toString
in class Object
Object.toString()
public SnapshotSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.