Class ListGatewaysResult
- java.lang.Object
-
- com.amazonaws.services.storagegateway.model.ListGatewaysResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ListGatewaysResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListGatewaysResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListGatewaysResultclone()booleanequals(Object obj)List<GatewayInfo>getGateways()StringgetMarker()inthashCode()voidsetGateways(Collection<GatewayInfo> gateways)voidsetMarker(String marker)StringtoString()Returns a string representation of this object; useful for testing and debugging.ListGatewaysResultwithGateways(GatewayInfo... gateways)NOTE: This method appends the values to the existing list (if any).ListGatewaysResultwithGateways(Collection<GatewayInfo> gateways)ListGatewaysResultwithMarker(String marker)
-
-
-
Method Detail
-
getGateways
public List<GatewayInfo> getGateways()
- Returns:
-
setGateways
public void setGateways(Collection<GatewayInfo> gateways)
- Parameters:
gateways-
-
withGateways
public ListGatewaysResult withGateways(GatewayInfo... gateways)
NOTE: This method appends the values to the existing list (if any). Use
setGateways(java.util.Collection)orwithGateways(java.util.Collection)if you want to override the existing values.- Parameters:
gateways-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withGateways
public ListGatewaysResult withGateways(Collection<GatewayInfo> gateways)
- Parameters:
gateways-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMarker
public void setMarker(String marker)
- Parameters:
marker-
-
getMarker
public String getMarker()
- Returns:
-
withMarker
public ListGatewaysResult withMarker(String marker)
- Parameters:
marker-- Returns:
- Returns a reference to this 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListGatewaysResult clone()
-
-