@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListGatewaysResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListGatewaysResult() |
Modifier and Type | Method and Description |
---|---|
ListGatewaysResult |
clone() |
boolean |
equals(Object obj) |
List<GatewaySummary> |
getGatewaySummaries()
A list that summarizes each gateway.
|
String |
getNextToken()
The token for the next set of results, or null if there are no additional results.
|
int |
hashCode() |
void |
setGatewaySummaries(Collection<GatewaySummary> gatewaySummaries)
A list that summarizes each gateway.
|
void |
setNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
|
String |
toString()
Returns a string representation of this object.
|
ListGatewaysResult |
withGatewaySummaries(Collection<GatewaySummary> gatewaySummaries)
A list that summarizes each gateway.
|
ListGatewaysResult |
withGatewaySummaries(GatewaySummary... gatewaySummaries)
A list that summarizes each gateway.
|
ListGatewaysResult |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<GatewaySummary> getGatewaySummaries()
A list that summarizes each gateway.
public void setGatewaySummaries(Collection<GatewaySummary> gatewaySummaries)
A list that summarizes each gateway.
gatewaySummaries
- A list that summarizes each gateway.public ListGatewaysResult withGatewaySummaries(GatewaySummary... gatewaySummaries)
A list that summarizes each gateway.
NOTE: This method appends the values to the existing list (if any). Use
setGatewaySummaries(java.util.Collection)
or withGatewaySummaries(java.util.Collection)
if you
want to override the existing values.
gatewaySummaries
- A list that summarizes each gateway.public ListGatewaysResult withGatewaySummaries(Collection<GatewaySummary> gatewaySummaries)
A list that summarizes each gateway.
gatewaySummaries
- A list that summarizes each gateway.public void setNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
nextToken
- The token for the next set of results, or null if there are no additional results.public String getNextToken()
The token for the next set of results, or null if there are no additional results.
public ListGatewaysResult withNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
nextToken
- The token for the next set of results, or null if there are no additional results.public String toString()
toString
in class Object
Object.toString()
public ListGatewaysResult clone()