Package com.amazonaws.services.ec2.model
Class AcceptVpcPeeringConnectionResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.AcceptVpcPeeringConnectionResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class AcceptVpcPeeringConnectionResult extends Object implements Serializable, Cloneable
Contains the output of AcceptVpcPeeringConnection.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AcceptVpcPeeringConnectionResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AcceptVpcPeeringConnectionResultclone()booleanequals(Object obj)VpcPeeringConnectiongetVpcPeeringConnection()Information about the VPC peering connection.inthashCode()voidsetVpcPeeringConnection(VpcPeeringConnection vpcPeeringConnection)Information about the VPC peering connection.StringtoString()Returns a string representation of this object; useful for testing and debugging.AcceptVpcPeeringConnectionResultwithVpcPeeringConnection(VpcPeeringConnection vpcPeeringConnection)Information about the VPC peering connection.
-
-
-
Method Detail
-
setVpcPeeringConnection
public void setVpcPeeringConnection(VpcPeeringConnection vpcPeeringConnection)
Information about the VPC peering connection.
- Parameters:
vpcPeeringConnection- Information about the VPC peering connection.
-
getVpcPeeringConnection
public VpcPeeringConnection getVpcPeeringConnection()
Information about the VPC peering connection.
- Returns:
- Information about the VPC peering connection.
-
withVpcPeeringConnection
public AcceptVpcPeeringConnectionResult withVpcPeeringConnection(VpcPeeringConnection vpcPeeringConnection)
Information about the VPC peering connection.
- Parameters:
vpcPeeringConnection- Information about the VPC peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AcceptVpcPeeringConnectionResult clone()
-
-