@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeLocalGatewaysResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
DescribeLocalGatewaysResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
DescribeLocalGatewaysResult | 
clone()  | 
boolean | 
equals(Object obj)  | 
List<LocalGateway> | 
getLocalGateways()
 Information about the local gateways. 
 | 
String | 
getNextToken()
 The token to use to retrieve the next page of results. 
 | 
int | 
hashCode()  | 
void | 
setLocalGateways(Collection<LocalGateway> localGateways)
 Information about the local gateways. 
 | 
void | 
setNextToken(String nextToken)
 The token to use to retrieve the next page of results. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
DescribeLocalGatewaysResult | 
withLocalGateways(Collection<LocalGateway> localGateways)
 Information about the local gateways. 
 | 
DescribeLocalGatewaysResult | 
withLocalGateways(LocalGateway... localGateways)
 Information about the local gateways. 
 | 
DescribeLocalGatewaysResult | 
withNextToken(String nextToken)
 The token to use to retrieve the next page of results. 
 | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<LocalGateway> getLocalGateways()
Information about the local gateways.
public void setLocalGateways(Collection<LocalGateway> localGateways)
Information about the local gateways.
localGateways - Information about the local gateways.public DescribeLocalGatewaysResult withLocalGateways(LocalGateway... localGateways)
Information about the local gateways.
 NOTE: This method appends the values to the existing list (if any). Use
 setLocalGateways(java.util.Collection) or withLocalGateways(java.util.Collection) if you want
 to override the existing values.
 
localGateways - Information about the local gateways.public DescribeLocalGatewaysResult withLocalGateways(Collection<LocalGateway> localGateways)
Information about the local gateways.
localGateways - Information about the local gateways.public void setNextToken(String nextToken)
 The token to use to retrieve the next page of results. This value is null when there are no more
 results to return.
 
nextToken - The token to use to retrieve the next page of results. This value is null when there are no
        more results to return.public String getNextToken()
 The token to use to retrieve the next page of results. This value is null when there are no more
 results to return.
 
null when there are no
         more results to return.public DescribeLocalGatewaysResult withNextToken(String nextToken)
 The token to use to retrieve the next page of results. This value is null when there are no more
 results to return.
 
nextToken - The token to use to retrieve the next page of results. This value is null when there are no
        more results to return.public String toString()
toString in class ObjectObject.toString()public DescribeLocalGatewaysResult clone()