public class VpcPeeringConnectionVpcInfo extends Object implements Serializable, Cloneable
Describes a VPC in a VPC peering connection.
Constructor and Description |
---|
VpcPeeringConnectionVpcInfo() |
Modifier and Type | Method and Description |
---|---|
VpcPeeringConnectionVpcInfo |
clone() |
boolean |
equals(Object obj) |
String |
getCidrBlock()
The CIDR block for the VPC.
|
String |
getOwnerId()
The AWS account ID of the VPC owner.
|
VpcPeeringConnectionOptionsDescription |
getPeeringOptions()
Information about the VPC peering connection options for the accepter or
requester VPC.
|
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 |
setPeeringOptions(VpcPeeringConnectionOptionsDescription peeringOptions)
Information about the VPC peering connection options for the accepter or
requester VPC.
|
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 |
withPeeringOptions(VpcPeeringConnectionOptionsDescription peeringOptions)
Information about the VPC peering connection options for the accepter or
requester VPC.
|
VpcPeeringConnectionVpcInfo |
withVpcId(String vpcId)
The ID of the VPC.
|
public void setCidrBlock(String cidrBlock)
The CIDR block for the VPC.
cidrBlock
- The CIDR block for the VPC.public String getCidrBlock()
The CIDR block for the VPC.
public VpcPeeringConnectionVpcInfo withCidrBlock(String cidrBlock)
The CIDR block for the VPC.
cidrBlock
- The CIDR block for the VPC.public void setOwnerId(String ownerId)
The AWS account ID of the VPC owner.
ownerId
- The AWS account ID of the VPC owner.public String getOwnerId()
The AWS account ID of the VPC owner.
public VpcPeeringConnectionVpcInfo withOwnerId(String ownerId)
The AWS account ID of the VPC owner.
ownerId
- The AWS account ID of the VPC owner.public void setVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public String getVpcId()
The ID of the VPC.
public VpcPeeringConnectionVpcInfo withVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public void setPeeringOptions(VpcPeeringConnectionOptionsDescription peeringOptions)
Information about the VPC peering connection options for the accepter or requester VPC.
peeringOptions
- Information about the VPC peering connection options for the
accepter or requester VPC.public VpcPeeringConnectionOptionsDescription getPeeringOptions()
Information about the VPC peering connection options for the accepter or requester VPC.
public VpcPeeringConnectionVpcInfo withPeeringOptions(VpcPeeringConnectionOptionsDescription peeringOptions)
Information about the VPC peering connection options for the accepter or requester VPC.
peeringOptions
- Information about the VPC peering connection options for the
accepter or requester VPC.public String toString()
toString
in class Object
Object.toString()
public VpcPeeringConnectionVpcInfo clone()
Copyright © 2018. All rights reserved.