Class CreateSnapshotResult

    • Constructor Detail

      • CreateSnapshotResult

        public CreateSnapshotResult()
    • Method Detail

      • setVolumeARN

        public void setVolumeARN​(String volumeARN)

        The Amazon Resource Name (ARN) of the volume of which the snapshot was taken.

        Parameters:
        volumeARN - The Amazon Resource Name (ARN) of the volume of which the snapshot was taken.
      • getVolumeARN

        public String getVolumeARN()

        The Amazon Resource Name (ARN) of the volume of which the snapshot was taken.

        Returns:
        The Amazon Resource Name (ARN) of the volume of which the snapshot was taken.
      • withVolumeARN

        public CreateSnapshotResult withVolumeARN​(String volumeARN)

        The Amazon Resource Name (ARN) of the volume of which the snapshot was taken.

        Parameters:
        volumeARN - The Amazon Resource Name (ARN) of the volume of which the snapshot was taken.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSnapshotId

        public void setSnapshotId​(String snapshotId)

        The snapshot ID that is used to refer to the snapshot in future operations such as describing snapshots (Amazon Elastic Compute Cloud API DescribeSnapshots) or creating a volume from a snapshot (CreateStorediSCSIVolume).

        Parameters:
        snapshotId - The snapshot ID that is used to refer to the snapshot in future operations such as describing snapshots (Amazon Elastic Compute Cloud API DescribeSnapshots) or creating a volume from a snapshot (CreateStorediSCSIVolume).
      • getSnapshotId

        public String getSnapshotId()

        The snapshot ID that is used to refer to the snapshot in future operations such as describing snapshots (Amazon Elastic Compute Cloud API DescribeSnapshots) or creating a volume from a snapshot (CreateStorediSCSIVolume).

        Returns:
        The snapshot ID that is used to refer to the snapshot in future operations such as describing snapshots (Amazon Elastic Compute Cloud API DescribeSnapshots) or creating a volume from a snapshot (CreateStorediSCSIVolume).
      • withSnapshotId

        public CreateSnapshotResult withSnapshotId​(String snapshotId)

        The snapshot ID that is used to refer to the snapshot in future operations such as describing snapshots (Amazon Elastic Compute Cloud API DescribeSnapshots) or creating a volume from a snapshot (CreateStorediSCSIVolume).

        Parameters:
        snapshotId - The snapshot ID that is used to refer to the snapshot in future operations such as describing snapshots (Amazon Elastic Compute Cloud API DescribeSnapshots) or creating a volume from a snapshot (CreateStorediSCSIVolume).
        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