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 CreateVpcResult
clone()
boolean
equals(Object obj)
Vpc
getVpc()
Information about the VPC.int
hashCode()
void
setVpc(Vpc vpc)
Information about the VPC.String
toString()
Returns a string representation of this object; useful for testing and debugging.CreateVpcResult
withVpc(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateVpcResult clone()
-
-