Package com.amazonaws.services.ec2.model
Class CreateVpcPeeringConnectionResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.CreateVpcPeeringConnectionResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class CreateVpcPeeringConnectionResult extends Object implements Serializable, Cloneable
Contains the output of CreateVpcPeeringConnection.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateVpcPeeringConnectionResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateVpcPeeringConnectionResult
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.CreateVpcPeeringConnectionResult
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 CreateVpcPeeringConnectionResult 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 CreateVpcPeeringConnectionResult clone()
-
-