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