@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 IPv4 CIDR block for the VPC.
|
List<CidrBlock> |
getCidrBlockSet()
Information about the IPv4 CIDR blocks for the VPC.
|
List<Ipv6CidrBlock> |
getIpv6CidrBlockSet()
The IPv6 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 IPv4 CIDR block for the VPC.
|
void |
setCidrBlockSet(Collection<CidrBlock> cidrBlockSet)
Information about the IPv4 CIDR blocks for the VPC.
|
void |
setIpv6CidrBlockSet(Collection<Ipv6CidrBlock> ipv6CidrBlockSet)
The IPv6 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 IPv4 CIDR block for the VPC.
|
VpcPeeringConnectionVpcInfo |
withCidrBlockSet(CidrBlock... cidrBlockSet)
Information about the IPv4 CIDR blocks for the VPC.
|
VpcPeeringConnectionVpcInfo |
withCidrBlockSet(Collection<CidrBlock> cidrBlockSet)
Information about the IPv4 CIDR blocks for the VPC.
|
VpcPeeringConnectionVpcInfo |
withIpv6CidrBlockSet(Collection<Ipv6CidrBlock> ipv6CidrBlockSet)
The IPv6 CIDR block for the VPC.
|
VpcPeeringConnectionVpcInfo |
withIpv6CidrBlockSet(Ipv6CidrBlock... ipv6CidrBlockSet)
The IPv6 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 IPv4 CIDR block for the VPC.
cidrBlock
- The IPv4 CIDR block for the VPC.public String getCidrBlock()
The IPv4 CIDR block for the VPC.
public VpcPeeringConnectionVpcInfo withCidrBlock(String cidrBlock)
The IPv4 CIDR block for the VPC.
cidrBlock
- The IPv4 CIDR block for the VPC.public List<Ipv6CidrBlock> getIpv6CidrBlockSet()
The IPv6 CIDR block for the VPC.
public void setIpv6CidrBlockSet(Collection<Ipv6CidrBlock> ipv6CidrBlockSet)
The IPv6 CIDR block for the VPC.
ipv6CidrBlockSet
- The IPv6 CIDR block for the VPC.public VpcPeeringConnectionVpcInfo withIpv6CidrBlockSet(Ipv6CidrBlock... ipv6CidrBlockSet)
The IPv6 CIDR block for the VPC.
NOTE: This method appends the values to the existing list (if any). Use
setIpv6CidrBlockSet(java.util.Collection)
or withIpv6CidrBlockSet(java.util.Collection)
if you
want to override the existing values.
ipv6CidrBlockSet
- The IPv6 CIDR block for the VPC.public VpcPeeringConnectionVpcInfo withIpv6CidrBlockSet(Collection<Ipv6CidrBlock> ipv6CidrBlockSet)
The IPv6 CIDR block for the VPC.
ipv6CidrBlockSet
- The IPv6 CIDR block for the VPC.public List<CidrBlock> getCidrBlockSet()
Information about the IPv4 CIDR blocks for the VPC.
public void setCidrBlockSet(Collection<CidrBlock> cidrBlockSet)
Information about the IPv4 CIDR blocks for the VPC.
cidrBlockSet
- Information about the IPv4 CIDR blocks for the VPC.public VpcPeeringConnectionVpcInfo withCidrBlockSet(CidrBlock... cidrBlockSet)
Information about the IPv4 CIDR blocks for the VPC.
NOTE: This method appends the values to the existing list (if any). Use
setCidrBlockSet(java.util.Collection)
or withCidrBlockSet(java.util.Collection)
if you want to
override the existing values.
cidrBlockSet
- Information about the IPv4 CIDR blocks for the VPC.public VpcPeeringConnectionVpcInfo withCidrBlockSet(Collection<CidrBlock> cidrBlockSet)
Information about the IPv4 CIDR blocks for the VPC.
cidrBlockSet
- Information about the IPv4 CIDR blocks 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 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 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 String toString()
toString
in class Object
Object.toString()
public VpcPeeringConnectionVpcInfo clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.