Class CopySnapshotRequest

    • Constructor Detail

      • CopySnapshotRequest

        public CopySnapshotRequest()
    • Method Detail

      • setSourceSnapshotName

        public void setSourceSnapshotName​(String sourceSnapshotName)

        The name of an existing snapshot from which to copy.

        Parameters:
        sourceSnapshotName - The name of an existing snapshot from which to copy.
      • getSourceSnapshotName

        public String getSourceSnapshotName()

        The name of an existing snapshot from which to copy.

        Returns:
        The name of an existing snapshot from which to copy.
      • withSourceSnapshotName

        public CopySnapshotRequest withSourceSnapshotName​(String sourceSnapshotName)

        The name of an existing snapshot from which to copy.

        Parameters:
        sourceSnapshotName - The name of an existing snapshot from which to copy.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTargetSnapshotName

        public void setTargetSnapshotName​(String targetSnapshotName)

        A name for the copied snapshot.

        Parameters:
        targetSnapshotName - A name for the copied snapshot.
      • getTargetSnapshotName

        public String getTargetSnapshotName()

        A name for the copied snapshot.

        Returns:
        A name for the copied snapshot.
      • withTargetSnapshotName

        public CopySnapshotRequest withTargetSnapshotName​(String targetSnapshotName)

        A name for the copied snapshot.

        Parameters:
        targetSnapshotName - A name for the copied snapshot.
        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