public class DescribeVpcPeeringConnectionsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of DescribeVpcPeeringConnections.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<VpcPeeringConnection> |
vpcPeeringConnections
Information about the VPC peering connections.
|
Constructor and Description |
---|
DescribeVpcPeeringConnectionsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeVpcPeeringConnectionsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<VpcPeeringConnection> |
getVpcPeeringConnections()
Information about the VPC peering connections.
|
int |
hashCode() |
void |
setVpcPeeringConnections(java.util.Collection<VpcPeeringConnection> vpcPeeringConnections)
Information about the VPC peering connections.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeVpcPeeringConnectionsResult |
withVpcPeeringConnections(java.util.Collection<VpcPeeringConnection> vpcPeeringConnections)
Information about the VPC peering connections.
|
DescribeVpcPeeringConnectionsResult |
withVpcPeeringConnections(VpcPeeringConnection... vpcPeeringConnections)
Information about the VPC peering connections.
|
private SdkInternalList<VpcPeeringConnection> vpcPeeringConnections
Information about the VPC peering connections.
public java.util.List<VpcPeeringConnection> getVpcPeeringConnections()
Information about the VPC peering connections.
public void setVpcPeeringConnections(java.util.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(java.util.Collection<VpcPeeringConnection> vpcPeeringConnections)
Information about the VPC peering connections.
vpcPeeringConnections
- Information about the VPC peering connections.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeVpcPeeringConnectionsResult clone()
clone
in class java.lang.Object