Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.storagegateway.model
Class ListGatewaysResult

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

public class ListGatewaysResult
extends Object
implements Serializable

A JSON object containing the following fields:

See Also:
Serialized Form

Constructor Summary
ListGatewaysResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<GatewayInfo> getGateways()
          An array of GatewayInfo objects.
 String getMarker()
          Use the marker in your next request to fetch the next set of gateways in the list.
 int hashCode()
           
 void setGateways(Collection<GatewayInfo> gateways)
          An array of GatewayInfo objects.
 void setMarker(String marker)
          Use the marker in your next request to fetch the next set of gateways in the list.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ListGatewaysResult withGateways(Collection<GatewayInfo> gateways)
          An array of GatewayInfo objects.
 ListGatewaysResult withGateways(GatewayInfo... gateways)
          An array of GatewayInfo objects.
 ListGatewaysResult withMarker(String marker)
          Use the marker in your next request to fetch the next set of gateways in the list.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListGatewaysResult

public ListGatewaysResult()
Method Detail

getGateways

public List<GatewayInfo> getGateways()
An array of GatewayInfo objects.

Returns:
An array of GatewayInfo objects.

setGateways

public void setGateways(Collection<GatewayInfo> gateways)
An array of GatewayInfo objects.

Parameters:
gateways - An array of GatewayInfo objects.

withGateways

public ListGatewaysResult withGateways(GatewayInfo... gateways)
An array of GatewayInfo objects.

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

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

withGateways

public ListGatewaysResult withGateways(Collection<GatewayInfo> gateways)
An array of GatewayInfo objects.

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

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

getMarker

public String getMarker()
Use the marker in your next request to fetch the next set of gateways in the list. If there are no more gateways to list, this field does not appear in the response.

Constraints:
Length: 1 - 1000

Returns:
Use the marker in your next request to fetch the next set of gateways in the list. If there are no more gateways to list, this field does not appear in the response.

setMarker

public void setMarker(String marker)
Use the marker in your next request to fetch the next set of gateways in the list. If there are no more gateways to list, this field does not appear in the response.

Constraints:
Length: 1 - 1000

Parameters:
marker - Use the marker in your next request to fetch the next set of gateways in the list. If there are no more gateways to list, this field does not appear in the response.

withMarker

public ListGatewaysResult withMarker(String marker)
Use the marker in your next request to fetch the next set of gateways in the list. If there are no more gateways to list, this field does not appear in the response.

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 fetch the next set of gateways in the list. If there are no more gateways to list, this field does not appear in the response.
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.