Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.storagegateway.model
Class VolumeInfo

java.lang.Object
  extended by com.amazonaws.services.storagegateway.model.VolumeInfo
All Implemented Interfaces:
Serializable

public class VolumeInfo
extends Object
implements Serializable

Describes a storage volume.

See Also:
Serialized Form

Constructor Summary
VolumeInfo()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getVolumeARN()
          The Amazon Resource Name (ARN) for the storage volume.
 String getVolumeType()
          One of the VolumeType values that indicates the configuration of the storage volume, for example as a storage volume.
 int hashCode()
           
 void setVolumeARN(String volumeARN)
          The Amazon Resource Name (ARN) for the storage volume.
 void setVolumeType(String volumeType)
          One of the VolumeType values that indicates the configuration of the storage volume, for example as a storage volume.
 void setVolumeType(VolumeType volumeType)
          One of the VolumeType values that indicates the configuration of the storage volume, for example as a storage volume.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 VolumeInfo withVolumeARN(String volumeARN)
          The Amazon Resource Name (ARN) for the storage volume.
 VolumeInfo withVolumeType(String volumeType)
          One of the VolumeType values that indicates the configuration of the storage volume, for example as a storage volume.
 VolumeInfo withVolumeType(VolumeType volumeType)
          One of the VolumeType values that indicates the configuration of the storage volume, for example as a storage volume.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VolumeInfo

public VolumeInfo()
Method Detail

getVolumeARN

public String getVolumeARN()
The Amazon Resource Name (ARN) for the storage volume. For example, the following is a valid ARN:

arn:aws:storagegateway:us-east-1:111122223333:gateway/mygateway/volume/vol-1122AABB

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

Constraints:
Length: 50 - 500

Returns:
The Amazon Resource Name (ARN) for the storage volume. For example, the following is a valid ARN:

arn:aws:storagegateway:us-east-1:111122223333:gateway/mygateway/volume/vol-1122AABB

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).


setVolumeARN

public void setVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) for the storage volume. For example, the following is a valid ARN:

arn:aws:storagegateway:us-east-1:111122223333:gateway/mygateway/volume/vol-1122AABB

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

Constraints:
Length: 50 - 500

Parameters:
volumeARN - The Amazon Resource Name (ARN) for the storage volume. For example, the following is a valid ARN:

arn:aws:storagegateway:us-east-1:111122223333:gateway/mygateway/volume/vol-1122AABB

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).


withVolumeARN

public VolumeInfo withVolumeARN(String volumeARN)
The Amazon Resource Name (ARN) for the storage volume. For example, the following is a valid ARN:

arn:aws:storagegateway:us-east-1:111122223333:gateway/mygateway/volume/vol-1122AABB

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

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) for the storage volume. For example, the following is a valid ARN:

arn:aws:storagegateway:us-east-1:111122223333:gateway/mygateway/volume/vol-1122AABB

Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).

Returns:
A reference to this updated object so that method calls can be chained together.

getVolumeType

public String getVolumeType()
One of the VolumeType values that indicates the configuration of the storage volume, for example as a storage volume.

Constraints:
Allowed Values: STORED iSCSI, CACHED iSCSI

Returns:
One of the VolumeType values that indicates the configuration of the storage volume, for example as a storage volume.
See Also:
VolumeType

setVolumeType

public void setVolumeType(String volumeType)
One of the VolumeType values that indicates the configuration of the storage volume, for example as a storage volume.

Constraints:
Allowed Values: STORED iSCSI, CACHED iSCSI

Parameters:
volumeType - One of the VolumeType values that indicates the configuration of the storage volume, for example as a storage volume.
See Also:
VolumeType

withVolumeType

public VolumeInfo withVolumeType(String volumeType)
One of the VolumeType values that indicates the configuration of the storage volume, for example as a storage volume.

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

Constraints:
Allowed Values: STORED iSCSI, CACHED iSCSI

Parameters:
volumeType - One of the VolumeType values that indicates the configuration of the storage volume, for example as a storage volume.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
VolumeType

setVolumeType

public void setVolumeType(VolumeType volumeType)
One of the VolumeType values that indicates the configuration of the storage volume, for example as a storage volume.

Constraints:
Allowed Values: STORED iSCSI, CACHED iSCSI

Parameters:
volumeType - One of the VolumeType values that indicates the configuration of the storage volume, for example as a storage volume.
See Also:
VolumeType

withVolumeType

public VolumeInfo withVolumeType(VolumeType volumeType)
One of the VolumeType values that indicates the configuration of the storage volume, for example as a storage volume.

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

Constraints:
Allowed Values: STORED iSCSI, CACHED iSCSI

Parameters:
volumeType - One of the VolumeType values that indicates the configuration of the storage volume, for example as a storage volume.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
VolumeType

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.