@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) |
List<VpcPeeringConnection> |
getVpcPeeringConnections()
A collection of VPC peering connection records that match the request.
|
int |
hashCode() |
void |
setVpcPeeringConnections(Collection<VpcPeeringConnection> vpcPeeringConnections)
A collection of VPC peering connection records that match the request.
|
String |
toString()
Returns a string representation of this object.
|
DescribeVpcPeeringConnectionsResult |
withVpcPeeringConnections(Collection<VpcPeeringConnection> vpcPeeringConnections)
A collection of VPC peering connection records that match the request.
|
DescribeVpcPeeringConnectionsResult |
withVpcPeeringConnections(VpcPeeringConnection... vpcPeeringConnections)
A collection of VPC peering connection records that match the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<VpcPeeringConnection> getVpcPeeringConnections()
A collection of VPC peering connection records that match the request.
public void setVpcPeeringConnections(Collection<VpcPeeringConnection> vpcPeeringConnections)
A collection of VPC peering connection records that match the request.
vpcPeeringConnections
- A collection of VPC peering connection records that match the request.public DescribeVpcPeeringConnectionsResult withVpcPeeringConnections(VpcPeeringConnection... vpcPeeringConnections)
A collection of VPC peering connection records that match the request.
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
- A collection of VPC peering connection records that match the request.public DescribeVpcPeeringConnectionsResult withVpcPeeringConnections(Collection<VpcPeeringConnection> vpcPeeringConnections)
A collection of VPC peering connection records that match the request.
vpcPeeringConnections
- A collection of VPC peering connection records that match the request.public String toString()
toString
in class Object
Object.toString()
public DescribeVpcPeeringConnectionsResult clone()