Class Snapshot

java.lang.Object
com.amazonaws.services.directory.model.Snapshot
All Implemented Interfaces:
Serializable, Cloneable

public class Snapshot extends Object implements Serializable, Cloneable

Describes a directory snapshot.

See Also:
  • Constructor Details

    • Snapshot

      public Snapshot()
  • Method Details

    • setDirectoryId

      public void setDirectoryId(String directoryId)

      The directory identifier.

      Parameters:
      directoryId - The directory identifier.
    • getDirectoryId

      public String getDirectoryId()

      The directory identifier.

      Returns:
      The directory identifier.
    • withDirectoryId

      public Snapshot withDirectoryId(String directoryId)

      The directory identifier.

      Parameters:
      directoryId - The directory identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setSnapshotId

      public void setSnapshotId(String snapshotId)

      The snapshot identifier.

      Parameters:
      snapshotId - The snapshot identifier.
    • getSnapshotId

      public String getSnapshotId()

      The snapshot identifier.

      Returns:
      The snapshot identifier.
    • withSnapshotId

      public Snapshot withSnapshotId(String snapshotId)

      The snapshot identifier.

      Parameters:
      snapshotId - The snapshot identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setType

      public void setType(String type)

      The snapshot type.

      Parameters:
      type - The snapshot type.
      See Also:
    • getType

      public String getType()

      The snapshot type.

      Returns:
      The snapshot type.
      See Also:
    • withType

      public Snapshot withType(String type)

      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

      public void setType(SnapshotType type)

      The snapshot type.

      Parameters:
      type - The snapshot type.
      See Also:
    • withType

      public Snapshot withType(SnapshotType type)

      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

      public void setName(String name)

      The descriptive name of the snapshot.

      Parameters:
      name - The descriptive name of the snapshot.
    • getName

      public String getName()

      The descriptive name of the snapshot.

      Returns:
      The descriptive name of the snapshot.
    • withName

      public Snapshot withName(String name)

      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

      public void setStatus(String status)

      The snapshot status.

      Parameters:
      status - The snapshot status.
      See Also:
    • getStatus

      public String getStatus()

      The snapshot status.

      Returns:
      The snapshot status.
      See Also:
    • withStatus

      public Snapshot withStatus(String status)

      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

      public void setStatus(SnapshotStatus status)

      The snapshot status.

      Parameters:
      status - The snapshot status.
      See Also:
    • withStatus

      public Snapshot withStatus(SnapshotStatus status)

      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

      public void setStartTime(Date startTime)

      The date and time that the snapshot was taken.

      Parameters:
      startTime - The date and time that the snapshot was taken.
    • getStartTime

      public Date getStartTime()

      The date and time that the snapshot was taken.

      Returns:
      The date and time that the snapshot was taken.
    • withStartTime

      public Snapshot withStartTime(Date startTime)

      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

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Snapshot clone()
      Overrides:
      clone in class Object