Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.storagegateway.model
Class ListVolumesResult

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

public class ListVolumesResult
extends java.lang.Object

A JSON object containing the following fields:


Constructor Summary
ListVolumesResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getGatewayARN()
          The Amazon Resource Name (ARN) of the gateway.
 java.lang.String getMarker()
          Use the marker in your next request to continue pagination of iSCSI volumes.
 java.util.List<VolumeInfo> getVolumeInfos()
          An array of VolumeInfo objects, where each object describes an iSCSI volume.
 int hashCode()
           
 void setGatewayARN(java.lang.String gatewayARN)
          The Amazon Resource Name (ARN) of the gateway.
 void setMarker(java.lang.String marker)
          Use the marker in your next request to continue pagination of iSCSI volumes.
 void setVolumeInfos(java.util.Collection<VolumeInfo> volumeInfos)
          An array of VolumeInfo objects, where each object describes an iSCSI volume.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ListVolumesResult withGatewayARN(java.lang.String gatewayARN)
          The Amazon Resource Name (ARN) of the gateway.
 ListVolumesResult withMarker(java.lang.String marker)
          Use the marker in your next request to continue pagination of iSCSI volumes.
 ListVolumesResult withVolumeInfos(java.util.Collection<VolumeInfo> volumeInfos)
          An array of VolumeInfo objects, where each object describes an iSCSI volume.
 ListVolumesResult withVolumeInfos(VolumeInfo... volumeInfos)
          An array of VolumeInfo objects, where each object describes an iSCSI volume.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListVolumesResult

public ListVolumesResult()
Method Detail

getGatewayARN

public java.lang.String getGatewayARN()
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

Constraints:
Length: 50 - 500

Returns:
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

setGatewayARN

public void setGatewayARN(java.lang.String gatewayARN)
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

Constraints:
Length: 50 - 500

Parameters:
gatewayARN - The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

withGatewayARN

public ListVolumesResult withGatewayARN(java.lang.String gatewayARN)
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.

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

Constraints:
Length: 50 - 500

Parameters:
gatewayARN - The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and region.
Returns:
A reference to this updated object so that method calls can be chained together.

getMarker

public java.lang.String getMarker()
Use the marker in your next request to continue pagination of iSCSI volumes. If there are no more volumes to list, this field does not appear in the response body.

Constraints:
Length: 1 - 1000

Returns:
Use the marker in your next request to continue pagination of iSCSI volumes. If there are no more volumes to list, this field does not appear in the response body.

setMarker

public void setMarker(java.lang.String marker)
Use the marker in your next request to continue pagination of iSCSI volumes. If there are no more volumes to list, this field does not appear in the response body.

Constraints:
Length: 1 - 1000

Parameters:
marker - Use the marker in your next request to continue pagination of iSCSI volumes. If there are no more volumes to list, this field does not appear in the response body.

withMarker

public ListVolumesResult withMarker(java.lang.String marker)
Use the marker in your next request to continue pagination of iSCSI volumes. If there are no more volumes to list, this field does not appear in the response body.

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

Constraints:
Length: 1 - 1000

Parameters:
marker - Use the marker in your next request to continue pagination of iSCSI volumes. If there are no more volumes to list, this field does not appear in the response body.
Returns:
A reference to this updated object so that method calls can be chained together.

getVolumeInfos

public java.util.List<VolumeInfo> getVolumeInfos()
An array of VolumeInfo objects, where each object describes an iSCSI volume. If no volumes are defined for the gateway, then VolumeInfos is an empty array "[]".

Returns:
An array of VolumeInfo objects, where each object describes an iSCSI volume. If no volumes are defined for the gateway, then VolumeInfos is an empty array "[]".

setVolumeInfos

public void setVolumeInfos(java.util.Collection<VolumeInfo> volumeInfos)
An array of VolumeInfo objects, where each object describes an iSCSI volume. If no volumes are defined for the gateway, then VolumeInfos is an empty array "[]".

Parameters:
volumeInfos - An array of VolumeInfo objects, where each object describes an iSCSI volume. If no volumes are defined for the gateway, then VolumeInfos is an empty array "[]".

withVolumeInfos

public ListVolumesResult withVolumeInfos(VolumeInfo... volumeInfos)
An array of VolumeInfo objects, where each object describes an iSCSI volume. If no volumes are defined for the gateway, then VolumeInfos is an empty array "[]".

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

Parameters:
volumeInfos - An array of VolumeInfo objects, where each object describes an iSCSI volume. If no volumes are defined for the gateway, then VolumeInfos is an empty array "[]".
Returns:
A reference to this updated object so that method calls can be chained together.

withVolumeInfos

public ListVolumesResult withVolumeInfos(java.util.Collection<VolumeInfo> volumeInfos)
An array of VolumeInfo objects, where each object describes an iSCSI volume. If no volumes are defined for the gateway, then VolumeInfos is an empty array "[]".

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

Parameters:
volumeInfos - An array of VolumeInfo objects, where each object describes an iSCSI volume. If no volumes are defined for the gateway, then VolumeInfos is an empty array "[]".
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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