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 ListGatewaysResult
clone()
boolean
equals(Object obj)
List<GatewayInfo>
getGateways()
String
getMarker()
int
hashCode()
void
setGateways(Collection<GatewayInfo> gateways)
void
setMarker(String marker)
String
toString()
Returns a string representation of this object; useful for testing and debugging.ListGatewaysResult
withGateways(GatewayInfo... gateways)
NOTE: This method appends the values to the existing list (if any).ListGatewaysResult
withGateways(Collection<GatewayInfo> gateways)
ListGatewaysResult
withMarker(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListGatewaysResult clone()
-
-