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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateSnapshotResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateSnapshotResult
clone()
boolean
equals(Object obj)
String
getSnapshotId()
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).String
getVolumeARN()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.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 APIDescribeSnapshots
) or creating a volume from a snapshot (CreateStorediSCSIVolume).CreateSnapshotResult
withVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume of which the snapshot was taken.
-
-
-
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 APIDescribeSnapshots
) 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 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateSnapshotResult clone()
-
-