Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.storagegateway.model
Class CreateSnapshotResult

java.lang.Object
  extended by com.amazonaws.services.storagegateway.model.CreateSnapshotResult

public class CreateSnapshotResult
extends Object

A JSON object containing the following fields:


Constructor Summary
CreateSnapshotResult()
           
 
Method Summary
 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 API DescribeSnapshots) 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 API DescribeSnapshots) 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 API DescribeSnapshots) 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateSnapshotResult

public CreateSnapshotResult()
Method Detail

getVolumeARN

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

Constraints:
Length: 50 - 500

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

setVolumeARN

public void setVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the volume of which the snapshot was taken.

Constraints:
Length: 50 - 500

Parameters:
volumeARN - 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.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 50 - 500

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

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).

Constraints:
Pattern: \Asnap-[0-9a-fA-F]{8}\z

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).

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).

Constraints:
Pattern: \Asnap-[0-9a-fA-F]{8}\z

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).

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).

Returns a reference to this object so that method calls can be chained together.

Constraints:
Pattern: \Asnap-[0-9a-fA-F]{8}\z

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:
A reference to this updated 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

equals

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


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.