Class Snapshot
java.lang.Object
com.amazonaws.services.directory.model.Snapshot
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a directory snapshot.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The directory identifier.getName()
The descriptive name of the snapshot.The snapshot identifier.The date and time that the snapshot was taken.The snapshot status.getType()
The snapshot type.int
hashCode()
void
setDirectoryId
(String directoryId) The directory identifier.void
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
The snapshot status.void
setType
(SnapshotType type) The snapshot type.void
The snapshot type.toString()
Returns a string representation of this object; useful for testing and debugging.withDirectoryId
(String directoryId) The directory identifier.The descriptive name of the snapshot.withSnapshotId
(String snapshotId) The snapshot identifier.withStartTime
(Date startTime) The date and time that the snapshot was taken.withStatus
(SnapshotStatus status) The snapshot status.withStatus
(String status) The snapshot status.withType
(SnapshotType type) The snapshot type.The snapshot type.
-
Constructor Details
-
Snapshot
public Snapshot()
-
-
Method Details
-
setDirectoryId
The directory identifier.
- Parameters:
directoryId
- The directory identifier.
-
getDirectoryId
The directory identifier.
- Returns:
- The directory identifier.
-
withDirectoryId
The directory identifier.
- Parameters:
directoryId
- The directory identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSnapshotId
The snapshot identifier.
- Parameters:
snapshotId
- The snapshot identifier.
-
getSnapshotId
The snapshot identifier.
- Returns:
- The snapshot identifier.
-
withSnapshotId
The snapshot identifier.
- Parameters:
snapshotId
- The snapshot identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setType
The snapshot type.
- Parameters:
type
- The snapshot type.- See Also:
-
getType
The snapshot type.
- Returns:
- The snapshot type.
- See Also:
-
withType
The snapshot type.
- Parameters:
type
- The snapshot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setType
The snapshot type.
- Parameters:
type
- The snapshot type.- See Also:
-
withType
The snapshot type.
- Parameters:
type
- The snapshot type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setName
The descriptive name of the snapshot.
- Parameters:
name
- The descriptive name of the snapshot.
-
getName
The descriptive name of the snapshot.
- Returns:
- The descriptive name of the snapshot.
-
withName
The descriptive name of the snapshot.
- Parameters:
name
- The descriptive name of the snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
The snapshot status.
- Parameters:
status
- The snapshot status.- See Also:
-
getStatus
The snapshot status.
- Returns:
- The snapshot status.
- See Also:
-
withStatus
The snapshot status.
- Parameters:
status
- The snapshot status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStatus
The snapshot status.
- Parameters:
status
- The snapshot status.- See Also:
-
withStatus
The snapshot status.
- Parameters:
status
- The snapshot status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStartTime
The date and time that the snapshot was taken.
- Parameters:
startTime
- The date and time that the snapshot was taken.
-
getStartTime
The date and time that the snapshot was taken.
- Returns:
- The date and time that the snapshot was taken.
-
withStartTime
The date and time that the snapshot was taken.
- Parameters:
startTime
- The date and time that the snapshot was taken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-