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