Class CreateSnapshotResult
- All Implemented Interfaces:
Serializable
,Cloneable
A JSON object containing the following fields:
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The snapshot ID that is used to refer to the snapshot in future operations such as describing snapshots (Amazon Elastic Compute Cloud APIDescribeSnapshots
) or creating a volume from a snapshot (CreateStorediSCSIVolume).The Amazon Resource Name (ARN) of the volume of which the snapshot was taken.int
hashCode()
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 APIDescribeSnapshots
) or creating a volume from a snapshot (CreateStorediSCSIVolume).void
setVolumeARN
(String volumeARN) The Amazon Resource Name (ARN) of the volume of which the snapshot was taken.toString()
Returns a string representation of this object; useful for testing and debugging.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 APIDescribeSnapshots
) or creating a volume from a snapshot (CreateStorediSCSIVolume).withVolumeARN
(String volumeARN) The Amazon Resource Name (ARN) of the volume of which the snapshot was taken.
-
Constructor Details
-
CreateSnapshotResult
public CreateSnapshotResult()
-
-
Method Details
-
setVolumeARN
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
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
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
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 APIDescribeSnapshots
) or creating a volume from a snapshot (CreateStorediSCSIVolume).
-
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
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 APIDescribeSnapshots
) or creating a volume from a snapshot (CreateStorediSCSIVolume).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-