@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SnapshotDetails extends Object implements Serializable, Cloneable, StructuredPojo
Properties that provide details of a snapshot.
Constructor and Description |
---|
SnapshotDetails() |
Modifier and Type | Method and Description |
---|---|
SnapshotDetails |
addSectionsEntry(String key,
Section value)
Add a single Sections entry
|
SnapshotDetails |
clearSectionsEntries()
Removes all the entries added into Sections.
|
SnapshotDetails |
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()
The timestamp of when the snapshot was last updated.
|
Map<String,Section> |
getSections()
The sections in the snapshot.
|
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)
The timestamp of when the snapshot was last updated.
|
void |
setSections(Map<String,Section> sections)
The sections in the snapshot.
|
String |
toString()
Returns a string representation of this object.
|
SnapshotDetails |
withCreated(Date created)
The timestamp of when the snapshot was created.
|
SnapshotDetails |
withDescription(String description)
The description of the snapshot.
|
SnapshotDetails |
withId(String id)
The identifier of the snapshot.
|
SnapshotDetails |
withLastUpdated(Date lastUpdated)
The timestamp of when the snapshot was last updated.
|
SnapshotDetails |
withSections(Map<String,Section> sections)
The sections in the snapshot.
|
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 SnapshotDetails 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 SnapshotDetails 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 SnapshotDetails withId(String id)
The identifier of the snapshot.
id
- The identifier of the snapshot.public void setLastUpdated(Date lastUpdated)
The timestamp of when the snapshot was last updated.
lastUpdated
- The timestamp of when the snapshot was last updated.public Date getLastUpdated()
The timestamp of when the snapshot was last updated.
public SnapshotDetails withLastUpdated(Date lastUpdated)
The timestamp of when the snapshot was last updated.
lastUpdated
- The timestamp of when the snapshot was last updated.public Map<String,Section> getSections()
The sections in the snapshot.
public void setSections(Map<String,Section> sections)
The sections in the snapshot.
sections
- The sections in the snapshot.public SnapshotDetails withSections(Map<String,Section> sections)
The sections in the snapshot.
sections
- The sections in the snapshot.public SnapshotDetails addSectionsEntry(String key, Section value)
public SnapshotDetails clearSectionsEntries()
public String toString()
toString
in class Object
Object.toString()
public SnapshotDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.