Class Snapshot

    • Constructor Detail

      • Snapshot

        public Snapshot()
    • Method Detail

      • 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:
        SnapshotType
      • getType

        public String getType()

        The snapshot type.

        Returns:
        The snapshot type.
        See Also:
        SnapshotType
      • 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:
        SnapshotType
      • setType

        public void setType​(SnapshotType type)

        The snapshot type.

        Parameters:
        type - The snapshot type.
        See Also:
        SnapshotType
      • 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:
        SnapshotType
      • 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:
        SnapshotStatus
      • getStatus

        public String getStatus()

        The snapshot status.

        Returns:
        The snapshot status.
        See Also:
        SnapshotStatus
      • 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:
        SnapshotStatus
      • setStatus

        public void setStatus​(SnapshotStatus status)

        The snapshot status.

        Parameters:
        status - The snapshot status.
        See Also:
        SnapshotStatus
      • 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:
        SnapshotStatus
      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object