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 AcceptVpcPeeringConnectionResult
clone()
boolean
equals(Object obj)
VpcPeeringConnection
getVpcPeeringConnection()
Information about the VPC peering connection.int
hashCode()
void
setVpcPeeringConnection(VpcPeeringConnection vpcPeeringConnection)
Information about the VPC peering connection.String
toString()
Returns a string representation of this object; useful for testing and debugging.AcceptVpcPeeringConnectionResult
withVpcPeeringConnection(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AcceptVpcPeeringConnectionResult clone()
-
-