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