Class CreateSnapshotResult

java.lang.Object
com.amazonaws.services.storagegateway.model.CreateSnapshotResult
All Implemented Interfaces:
Serializable, Cloneable

public class CreateSnapshotResult extends Object implements Serializable, Cloneable

A JSON object containing the following fields:

See Also:
  • Constructor Details

    • CreateSnapshotResult

      public CreateSnapshotResult()
  • Method Details

    • 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:
    • equals

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

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

      public CreateSnapshotResult clone()
      Overrides:
      clone in class Object