|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.VpcPeeringConnectionVpcInfo
public class VpcPeeringConnectionVpcInfo
Describes a VPC in a VPC peering connection.
Constructor Summary | |
---|---|
VpcPeeringConnectionVpcInfo()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getCidrBlock()
The CIDR block for the VPC. |
String |
getOwnerId()
The AWS account ID of the VPC owner. |
String |
getVpcId()
The ID of the VPC. |
int |
hashCode()
|
void |
setCidrBlock(String cidrBlock)
The CIDR block for the VPC. |
void |
setOwnerId(String ownerId)
The AWS account ID of the VPC owner. |
void |
setVpcId(String vpcId)
The ID of the VPC. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
VpcPeeringConnectionVpcInfo |
withCidrBlock(String cidrBlock)
The CIDR block for the VPC. |
VpcPeeringConnectionVpcInfo |
withOwnerId(String ownerId)
The AWS account ID of the VPC owner. |
VpcPeeringConnectionVpcInfo |
withVpcId(String vpcId)
The ID of the VPC. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VpcPeeringConnectionVpcInfo()
Method Detail |
---|
public String getCidrBlock()
public void setCidrBlock(String cidrBlock)
cidrBlock
- The CIDR block for the VPC.public VpcPeeringConnectionVpcInfo withCidrBlock(String cidrBlock)
Returns a reference to this object so that method calls can be chained together.
cidrBlock
- The CIDR block for the VPC.
public String getOwnerId()
public void setOwnerId(String ownerId)
ownerId
- The AWS account ID of the VPC owner.public VpcPeeringConnectionVpcInfo withOwnerId(String ownerId)
Returns a reference to this object so that method calls can be chained together.
ownerId
- The AWS account ID of the VPC owner.
public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- The ID of the VPC.public VpcPeeringConnectionVpcInfo withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The ID of the VPC.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |