public class CreateSnapshotResult
extends java.lang.Object
implements java.io.Serializable
A JSON object containing the following fields:
| コンストラクタと説明 |
|---|
CreateSnapshotResult() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.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). |
java.lang.String |
getVolumeARN()
The Amazon Resource Name (ARN) of the volume of which the snapshot was
taken.
|
int |
hashCode() |
void |
setSnapshotId(java.lang.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). |
void |
setVolumeARN(java.lang.String volumeARN)
The Amazon Resource Name (ARN) of the volume of which the snapshot was
taken.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateSnapshotResult |
withSnapshotId(java.lang.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). |
CreateSnapshotResult |
withVolumeARN(java.lang.String volumeARN)
The Amazon Resource Name (ARN) of the volume of which the snapshot was
taken.
|
public java.lang.String getVolumeARN()
Constraints:
Length: 50 - 500
public void setVolumeARN(java.lang.String volumeARN)
Constraints:
Length: 50 - 500
volumeARN - The Amazon Resource Name (ARN) of the volume of which the snapshot was
taken.public CreateSnapshotResult withVolumeARN(java.lang.String volumeARN)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 50 - 500
volumeARN - The Amazon Resource Name (ARN) of the volume of which the snapshot was
taken.public java.lang.String getSnapshotId()
DescribeSnapshots) or creating a volume from a
snapshot (CreateStorediSCSIVolume).
Constraints:
Pattern: \Asnap-[0-9a-fA-F]{8}\z
DescribeSnapshots) or creating a volume from a
snapshot (CreateStorediSCSIVolume).public void setSnapshotId(java.lang.String snapshotId)
DescribeSnapshots) or creating a volume from a
snapshot (CreateStorediSCSIVolume).
Constraints:
Pattern: \Asnap-[0-9a-fA-F]{8}\z
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).public CreateSnapshotResult withSnapshotId(java.lang.String snapshotId)
DescribeSnapshots) or creating a volume from a
snapshot (CreateStorediSCSIVolume).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: \Asnap-[0-9a-fA-F]{8}\z
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).public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object