@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPeeringsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| ListPeeringsResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| ListPeeringsResult | clone() | 
| boolean | equals(Object obj) | 
| String | getNextToken()
 The token for the next page of results. | 
| List<Peering> | getPeerings()
 Lists the transit gateway peerings for the  ListPeeringsrequest. | 
| int | hashCode() | 
| void | setNextToken(String nextToken)
 The token for the next page of results. | 
| void | setPeerings(Collection<Peering> peerings)
 Lists the transit gateway peerings for the  ListPeeringsrequest. | 
| String | toString()Returns a string representation of this object. | 
| ListPeeringsResult | withNextToken(String nextToken)
 The token for the next page of results. | 
| ListPeeringsResult | withPeerings(Collection<Peering> peerings)
 Lists the transit gateway peerings for the  ListPeeringsrequest. | 
| ListPeeringsResult | withPeerings(Peering... peerings)
 Lists the transit gateway peerings for the  ListPeeringsrequest. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Peering> getPeerings()
 Lists the transit gateway peerings for the ListPeerings request.
 
ListPeerings request.public void setPeerings(Collection<Peering> peerings)
 Lists the transit gateway peerings for the ListPeerings request.
 
peerings - Lists the transit gateway peerings for the ListPeerings request.public ListPeeringsResult withPeerings(Peering... peerings)
 Lists the transit gateway peerings for the ListPeerings request.
 
 NOTE: This method appends the values to the existing list (if any). Use
 setPeerings(java.util.Collection) or withPeerings(java.util.Collection) if you want to override
 the existing values.
 
peerings - Lists the transit gateway peerings for the ListPeerings request.public ListPeeringsResult withPeerings(Collection<Peering> peerings)
 Lists the transit gateway peerings for the ListPeerings request.
 
peerings - Lists the transit gateway peerings for the ListPeerings request.public void setNextToken(String nextToken)
The token for the next page of results.
nextToken - The token for the next page of results.public String getNextToken()
The token for the next page of results.
public ListPeeringsResult withNextToken(String nextToken)
The token for the next page of results.
nextToken - The token for the next page of results.public String toString()
toString in class ObjectObject.toString()public ListPeeringsResult clone()