Package com.amazonaws.services.ec2.model
Class CreateVpcResult
- java.lang.Object
-
- com.amazonaws.services.ec2.model.CreateVpcResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CreateVpcResult extends Object implements Serializable, Cloneable
Contains the output of CreateVpc.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateVpcResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateVpcResultclone()booleanequals(Object obj)VpcgetVpc()Information about the VPC.inthashCode()voidsetVpc(Vpc vpc)Information about the VPC.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateVpcResultwithVpc(Vpc vpc)Information about the VPC.
-
-
-
Method Detail
-
setVpc
public void setVpc(Vpc vpc)
Information about the VPC.
- Parameters:
vpc- Information about the VPC.
-
getVpc
public Vpc getVpc()
Information about the VPC.
- Returns:
- Information about the VPC.
-
withVpc
public CreateVpcResult withVpc(Vpc vpc)
Information about the VPC.
- Parameters:
vpc- Information about the VPC.- 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 CreateVpcResult clone()
-
-