@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 include in another request to get the next page of items.
|
List<VpcPeeringConnection> |
getVpcPeeringConnections()
Information about the VPC peering connections.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to include in another request to get the next page of items.
|
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 include in another request to get the next page of items.
|
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 include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String getNextToken()
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
null
when there are no more items to return.public DescribeVpcPeeringConnectionsResult withNextToken(String nextToken)
The token to include in another request to get the next page of items. This value is null
when there
are no more items to return.
nextToken
- The token to include in another request to get the next page of items. This value is null
when there are no more items to return.public String toString()
toString
in class Object
Object.toString()
public DescribeVpcPeeringConnectionsResult clone()