Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.storagegateway.model
Class DescribeStorediSCSIVolumesRequest

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

public class DescribeStorediSCSIVolumesRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DescribeStorediSCSIVolumes operation.

This operation returns description of the gateway volumes specified in the request. The list of gateway volumes in the request must be from one gateway. In the response Amazon Storage Gateway returns volume information sorted by volume ARNs.

See Also:
AWSStorageGateway.describeStorediSCSIVolumes(DescribeStorediSCSIVolumesRequest), Serialized Form

Constructor Summary
DescribeStorediSCSIVolumesRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<String> getVolumeARNs()
          An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume.
 int hashCode()
           
 void setVolumeARNs(Collection<String> volumeARNs)
          An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeStorediSCSIVolumesRequest withVolumeARNs(Collection<String> volumeARNs)
          An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume.
 DescribeStorediSCSIVolumesRequest withVolumeARNs(String... volumeARNs)
          An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeStorediSCSIVolumesRequest

public DescribeStorediSCSIVolumesRequest()
Method Detail

getVolumeARNs

public List<String> getVolumeARNs()
An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.

Returns:
An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.

setVolumeARNs

public void setVolumeARNs(Collection<String> volumeARNs)
An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.

Parameters:
volumeARNs - An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.

withVolumeARNs

public DescribeStorediSCSIVolumesRequest withVolumeARNs(String... volumeARNs)
An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.

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

Parameters:
volumeARNs - An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.
Returns:
A reference to this updated object so that method calls can be chained together.

withVolumeARNs

public DescribeStorediSCSIVolumesRequest withVolumeARNs(Collection<String> volumeARNs)
An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.

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

Parameters:
volumeARNs - An array of strings where each string represents the Amazon Resource Name (ARN) of a stored volume. All of the specified stored volumes must from the same gateway. Use ListVolumes to get volume ARNs for a gateway.
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.