@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeTransitGatewaysResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeTransitGatewaysResult() |
Modifier and Type | Method and Description |
---|---|
DescribeTransitGatewaysResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<TransitGateway> |
getTransitGateways()
Information about the transit gateways.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setTransitGateways(Collection<TransitGateway> transitGateways)
Information about the transit gateways.
|
String |
toString()
Returns a string representation of this object.
|
DescribeTransitGatewaysResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
DescribeTransitGatewaysResult |
withTransitGateways(Collection<TransitGateway> transitGateways)
Information about the transit gateways.
|
DescribeTransitGatewaysResult |
withTransitGateways(TransitGateway... transitGateways)
Information about the transit gateways.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<TransitGateway> getTransitGateways()
Information about the transit gateways.
public void setTransitGateways(Collection<TransitGateway> transitGateways)
Information about the transit gateways.
transitGateways
- Information about the transit gateways.public DescribeTransitGatewaysResult withTransitGateways(TransitGateway... transitGateways)
Information about the transit gateways.
NOTE: This method appends the values to the existing list (if any). Use
setTransitGateways(java.util.Collection)
or withTransitGateways(java.util.Collection)
if you
want to override the existing values.
transitGateways
- Information about the transit gateways.public DescribeTransitGatewaysResult withTransitGateways(Collection<TransitGateway> transitGateways)
Information about the transit gateways.
transitGateways
- Information about the transit 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 DescribeTransitGatewaysResult 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 Object
Object.toString()
public DescribeTransitGatewaysResult clone()