Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.storagegateway.model
Class ListLocalDisksResult

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

public class ListLocalDisksResult
extends Object
implements Serializable

A JSON object containing the following fields:

See Also:
Serialized Form

Constructor Summary
ListLocalDisksResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<Disk> getDisks()
          An array of Disk objects.
 String getGatewayARN()
          The Amazon Resource Name (ARN) of the gateway.
 int hashCode()
           
 void setDisks(Collection<Disk> disks)
          An array of Disk objects.
 void setGatewayARN(String gatewayARN)
          The Amazon Resource Name (ARN) of the gateway.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ListLocalDisksResult withDisks(Collection<Disk> disks)
          An array of Disk objects.
 ListLocalDisksResult withDisks(Disk... disks)
          An array of Disk objects.
 ListLocalDisksResult withGatewayARN(String gatewayARN)
          The Amazon Resource Name (ARN) of the gateway.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListLocalDisksResult

public ListLocalDisksResult()
Method Detail

getGatewayARN

public 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(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 ListLocalDisksResult withGatewayARN(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.

getDisks

public List<Disk> getDisks()
An array of Disk objects.

Returns:
An array of Disk objects.

setDisks

public void setDisks(Collection<Disk> disks)
An array of Disk objects.

Parameters:
disks - An array of Disk objects.

withDisks

public ListLocalDisksResult withDisks(Disk... disks)
An array of Disk objects.

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

Parameters:
disks - An array of Disk objects.
Returns:
A reference to this updated object so that method calls can be chained together.

withDisks

public ListLocalDisksResult withDisks(Collection<Disk> disks)
An array of Disk objects.

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

Parameters:
disks - An array of Disk objects.
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.