Package com.amazonaws.services.ec2.model
Class DescribeVpcPeeringConnectionsResult
java.lang.Object
com.amazonaws.services.ec2.model.DescribeVpcPeeringConnectionsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the output of DescribeVpcPeeringConnections.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Information about the VPC peering connections.int
hashCode()
void
setVpcPeeringConnections
(Collection<VpcPeeringConnection> vpcPeeringConnections) Information about the VPC peering connections.toString()
Returns a string representation of this object; useful for testing and debugging.withVpcPeeringConnections
(VpcPeeringConnection... vpcPeeringConnections) Information about the VPC peering connections.withVpcPeeringConnections
(Collection<VpcPeeringConnection> vpcPeeringConnections) Information about the VPC peering connections.
-
Constructor Details
-
DescribeVpcPeeringConnectionsResult
public DescribeVpcPeeringConnectionsResult()
-
-
Method Details
-
getVpcPeeringConnections
Information about the VPC peering connections.
- Returns:
- Information about the VPC peering connections.
-
setVpcPeeringConnections
Information about the VPC peering connections.
- Parameters:
vpcPeeringConnections
- Information about the VPC peering connections.
-
withVpcPeeringConnections
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)
orwithVpcPeeringConnections(java.util.Collection)
if you want to override the existing values.- Parameters:
vpcPeeringConnections
- Information about the VPC peering connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withVpcPeeringConnections
public DescribeVpcPeeringConnectionsResult withVpcPeeringConnections(Collection<VpcPeeringConnection> vpcPeeringConnections) Information about the VPC peering connections.
- Parameters:
vpcPeeringConnections
- Information about the VPC peering connections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-