@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<ListedGateway> |
getGateways()
A list of gateway summaries.
|
String |
getNextToken()
The token that identifies which batch of results that you want to see.
|
int |
hashCode() |
void |
setGateways(Collection<ListedGateway> gateways)
A list of gateway summaries.
|
void |
setNextToken(String nextToken)
The token that identifies which batch of results that you want to see.
|
String |
toString()
Returns a string representation of this object.
|
ListGatewaysResult |
withGateways(Collection<ListedGateway> gateways)
A list of gateway summaries.
|
ListGatewaysResult |
withGateways(ListedGateway... gateways)
A list of gateway summaries.
|
ListGatewaysResult |
withNextToken(String nextToken)
The token that identifies which batch of results that you want to see.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ListedGateway> getGateways()
public void setGateways(Collection<ListedGateway> gateways)
gateways
- A list of gateway summaries.public ListGatewaysResult withGateways(ListedGateway... 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
- A list of gateway summaries.public ListGatewaysResult withGateways(Collection<ListedGateway> gateways)
gateways
- A list of gateway summaries.public void setNextToken(String nextToken)
nextToken
- The token that identifies which batch of results that you want to see. For example, you submit a
ListGateways request with MaxResults set at 5. The service returns the first batch of results (up to 5)
and a NextToken value. To see the next batch of results, you can submit the ListGateways request a second
time and specify the NextToken value.public String getNextToken()
public ListGatewaysResult withNextToken(String nextToken)
nextToken
- The token that identifies which batch of results that you want to see. For example, you submit a
ListGateways request with MaxResults set at 5. The service returns the first batch of results (up to 5)
and a NextToken value. To see the next batch of results, you can submit the ListGateways request a second
time and specify the NextToken value.public String toString()
toString
in class Object
Object.toString()
public ListGatewaysResult clone()