public class ListGatewaysResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<GatewayInfo> |
gateways |
private java.lang.String |
marker |
Constructor and Description |
---|
ListGatewaysResult() |
Modifier and Type | Method and Description |
---|---|
ListGatewaysResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<GatewayInfo> |
getGateways() |
java.lang.String |
getMarker() |
int |
hashCode() |
void |
setGateways(java.util.Collection<GatewayInfo> gateways) |
void |
setMarker(java.lang.String marker) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListGatewaysResult |
withGateways(java.util.Collection<GatewayInfo> gateways) |
ListGatewaysResult |
withGateways(GatewayInfo... gateways)
NOTE: This method appends the values to the existing list (if
any).
|
ListGatewaysResult |
withMarker(java.lang.String marker) |
private SdkInternalList<GatewayInfo> gateways
private java.lang.String marker
public java.util.List<GatewayInfo> getGateways()
public void setGateways(java.util.Collection<GatewayInfo> gateways)
gateways
- public ListGatewaysResult withGateways(GatewayInfo... gateways)
NOTE: This method appends the values to the existing list (if
any). Use setGateways(java.util.Collection)
or
withGateways(java.util.Collection)
if you want to override the
existing values.
gateways
- public ListGatewaysResult withGateways(java.util.Collection<GatewayInfo> gateways)
gateways
- public void setMarker(java.lang.String marker)
marker
- public java.lang.String getMarker()
public ListGatewaysResult withMarker(java.lang.String marker)
marker
- public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListGatewaysResult clone()
clone
in class java.lang.Object