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