public class VpcPeeringConnectionVpcInfo extends Object implements Serializable
Describes a VPC in a VPC peering connection.
Constructor and Description |
---|
VpcPeeringConnectionVpcInfo() |
Modifier and Type | Method and Description |
---|---|
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.
|
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()
Copyright © 2014. All rights reserved.