@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Snapshot extends Object implements Serializable, Cloneable, StructuredPojo
Describes a directory snapshot.
Constructor and Description |
---|
Snapshot() |
Modifier and Type | Method and Description |
---|---|
Snapshot |
clone() |
boolean |
equals(Object obj) |
String |
getDirectoryId()
The directory identifier.
|
String |
getName()
The descriptive name of the snapshot.
|
String |
getSnapshotId()
The snapshot identifier.
|
Date |
getStartTime()
The date and time that the snapshot was taken.
|
String |
getStatus()
The snapshot status.
|
String |
getType()
The snapshot type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDirectoryId(String directoryId)
The directory identifier.
|
void |
setName(String name)
The descriptive name of the snapshot.
|
void |
setSnapshotId(String snapshotId)
The snapshot identifier.
|
void |
setStartTime(Date startTime)
The date and time that the snapshot was taken.
|
void |
setStatus(SnapshotStatus status)
The snapshot status.
|
void |
setStatus(String status)
The snapshot status.
|
void |
setType(SnapshotType type)
The snapshot type.
|
void |
setType(String type)
The snapshot type.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Snapshot |
withDirectoryId(String directoryId)
The directory identifier.
|
Snapshot |
withName(String name)
The descriptive name of the snapshot.
|
Snapshot |
withSnapshotId(String snapshotId)
The snapshot identifier.
|
Snapshot |
withStartTime(Date startTime)
The date and time that the snapshot was taken.
|
Snapshot |
withStatus(SnapshotStatus status)
The snapshot status.
|
Snapshot |
withStatus(String status)
The snapshot status.
|
Snapshot |
withType(SnapshotType type)
The snapshot type.
|
Snapshot |
withType(String type)
The snapshot type.
|
public void setDirectoryId(String directoryId)
The directory identifier.
directoryId
- The directory identifier.public String getDirectoryId()
The directory identifier.
public Snapshot withDirectoryId(String directoryId)
The directory identifier.
directoryId
- The directory identifier.public void setSnapshotId(String snapshotId)
The snapshot identifier.
snapshotId
- The snapshot identifier.public String getSnapshotId()
The snapshot identifier.
public Snapshot withSnapshotId(String snapshotId)
The snapshot identifier.
snapshotId
- The snapshot identifier.public void setType(String type)
The snapshot type.
type
- The snapshot type.SnapshotType
public String getType()
The snapshot type.
SnapshotType
public Snapshot withType(String type)
The snapshot type.
type
- The snapshot type.SnapshotType
public void setType(SnapshotType type)
The snapshot type.
type
- The snapshot type.SnapshotType
public Snapshot withType(SnapshotType type)
The snapshot type.
type
- The snapshot type.SnapshotType
public void setName(String name)
The descriptive name of the snapshot.
name
- The descriptive name of the snapshot.public String getName()
The descriptive name of the snapshot.
public Snapshot withName(String name)
The descriptive name of the snapshot.
name
- The descriptive name of the snapshot.public void setStatus(String status)
The snapshot status.
status
- The snapshot status.SnapshotStatus
public String getStatus()
The snapshot status.
SnapshotStatus
public Snapshot withStatus(String status)
The snapshot status.
status
- The snapshot status.SnapshotStatus
public void setStatus(SnapshotStatus status)
The snapshot status.
status
- The snapshot status.SnapshotStatus
public Snapshot withStatus(SnapshotStatus status)
The snapshot status.
status
- The snapshot status.SnapshotStatus
public void setStartTime(Date startTime)
The date and time that the snapshot was taken.
startTime
- The date and time that the snapshot was taken.public Date getStartTime()
The date and time that the snapshot was taken.
public Snapshot withStartTime(Date startTime)
The date and time that the snapshot was taken.
startTime
- The date and time that the snapshot was taken.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.