@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEc2VpcPeeringConnectionVpcInfoDetails extends Object implements Serializable, Cloneable, StructuredPojo
Describes a VPC in a VPC peering connection.
Constructor and Description |
---|
AwsEc2VpcPeeringConnectionVpcInfoDetails() |
Modifier and Type | Method and Description |
---|---|
AwsEc2VpcPeeringConnectionVpcInfoDetails |
clone() |
boolean |
equals(Object obj) |
String |
getCidrBlock()
The IPv4 CIDR block for the VPC.
|
List<VpcInfoCidrBlockSetDetails> |
getCidrBlockSet()
Information about the IPv4 CIDR blocks for the VPC.
|
List<VpcInfoIpv6CidrBlockSetDetails> |
getIpv6CidrBlockSet()
The IPv6 CIDR block for the VPC.
|
String |
getOwnerId()
The ID of the Amazon Web Services account that owns the VPC.
|
VpcInfoPeeringOptionsDetails |
getPeeringOptions()
Information about the VPC peering connection options for the accepter or requester VPC.
|
String |
getRegion()
The Amazon Web Services Region in which the VPC is located.
|
String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCidrBlock(String cidrBlock)
The IPv4 CIDR block for the VPC.
|
void |
setCidrBlockSet(Collection<VpcInfoCidrBlockSetDetails> cidrBlockSet)
Information about the IPv4 CIDR blocks for the VPC.
|
void |
setIpv6CidrBlockSet(Collection<VpcInfoIpv6CidrBlockSetDetails> ipv6CidrBlockSet)
The IPv6 CIDR block for the VPC.
|
void |
setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the VPC.
|
void |
setPeeringOptions(VpcInfoPeeringOptionsDetails peeringOptions)
Information about the VPC peering connection options for the accepter or requester VPC.
|
void |
setRegion(String region)
The Amazon Web Services Region in which the VPC is located.
|
void |
setVpcId(String vpcId)
The ID of the VPC.
|
String |
toString()
Returns a string representation of this object.
|
AwsEc2VpcPeeringConnectionVpcInfoDetails |
withCidrBlock(String cidrBlock)
The IPv4 CIDR block for the VPC.
|
AwsEc2VpcPeeringConnectionVpcInfoDetails |
withCidrBlockSet(Collection<VpcInfoCidrBlockSetDetails> cidrBlockSet)
Information about the IPv4 CIDR blocks for the VPC.
|
AwsEc2VpcPeeringConnectionVpcInfoDetails |
withCidrBlockSet(VpcInfoCidrBlockSetDetails... cidrBlockSet)
Information about the IPv4 CIDR blocks for the VPC.
|
AwsEc2VpcPeeringConnectionVpcInfoDetails |
withIpv6CidrBlockSet(Collection<VpcInfoIpv6CidrBlockSetDetails> ipv6CidrBlockSet)
The IPv6 CIDR block for the VPC.
|
AwsEc2VpcPeeringConnectionVpcInfoDetails |
withIpv6CidrBlockSet(VpcInfoIpv6CidrBlockSetDetails... ipv6CidrBlockSet)
The IPv6 CIDR block for the VPC.
|
AwsEc2VpcPeeringConnectionVpcInfoDetails |
withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the VPC.
|
AwsEc2VpcPeeringConnectionVpcInfoDetails |
withPeeringOptions(VpcInfoPeeringOptionsDetails peeringOptions)
Information about the VPC peering connection options for the accepter or requester VPC.
|
AwsEc2VpcPeeringConnectionVpcInfoDetails |
withRegion(String region)
The Amazon Web Services Region in which the VPC is located.
|
AwsEc2VpcPeeringConnectionVpcInfoDetails |
withVpcId(String vpcId)
The ID of the VPC.
|
public AwsEc2VpcPeeringConnectionVpcInfoDetails()
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 AwsEc2VpcPeeringConnectionVpcInfoDetails withCidrBlock(String cidrBlock)
The IPv4 CIDR block for the VPC.
cidrBlock
- The IPv4 CIDR block for the VPC.public List<VpcInfoCidrBlockSetDetails> getCidrBlockSet()
Information about the IPv4 CIDR blocks for the VPC.
public void setCidrBlockSet(Collection<VpcInfoCidrBlockSetDetails> cidrBlockSet)
Information about the IPv4 CIDR blocks for the VPC.
cidrBlockSet
- Information about the IPv4 CIDR blocks for the VPC.public AwsEc2VpcPeeringConnectionVpcInfoDetails withCidrBlockSet(VpcInfoCidrBlockSetDetails... 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 AwsEc2VpcPeeringConnectionVpcInfoDetails withCidrBlockSet(Collection<VpcInfoCidrBlockSetDetails> cidrBlockSet)
Information about the IPv4 CIDR blocks for the VPC.
cidrBlockSet
- Information about the IPv4 CIDR blocks for the VPC.public List<VpcInfoIpv6CidrBlockSetDetails> getIpv6CidrBlockSet()
The IPv6 CIDR block for the VPC.
public void setIpv6CidrBlockSet(Collection<VpcInfoIpv6CidrBlockSetDetails> ipv6CidrBlockSet)
The IPv6 CIDR block for the VPC.
ipv6CidrBlockSet
- The IPv6 CIDR block for the VPC.public AwsEc2VpcPeeringConnectionVpcInfoDetails withIpv6CidrBlockSet(VpcInfoIpv6CidrBlockSetDetails... 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 AwsEc2VpcPeeringConnectionVpcInfoDetails withIpv6CidrBlockSet(Collection<VpcInfoIpv6CidrBlockSetDetails> ipv6CidrBlockSet)
The IPv6 CIDR block for the VPC.
ipv6CidrBlockSet
- The IPv6 CIDR block for the VPC.public void setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the VPC.
ownerId
- The ID of the Amazon Web Services account that owns the VPC.public String getOwnerId()
The ID of the Amazon Web Services account that owns the VPC.
public AwsEc2VpcPeeringConnectionVpcInfoDetails withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the VPC.
ownerId
- The ID of the Amazon Web Services account that owns the VPC.public void setPeeringOptions(VpcInfoPeeringOptionsDetails 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 VpcInfoPeeringOptionsDetails getPeeringOptions()
Information about the VPC peering connection options for the accepter or requester VPC.
public AwsEc2VpcPeeringConnectionVpcInfoDetails withPeeringOptions(VpcInfoPeeringOptionsDetails 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 setRegion(String region)
The Amazon Web Services Region in which the VPC is located.
region
- The Amazon Web Services Region in which the VPC is located.public String getRegion()
The Amazon Web Services Region in which the VPC is located.
public AwsEc2VpcPeeringConnectionVpcInfoDetails withRegion(String region)
The Amazon Web Services Region in which the VPC is located.
region
- The Amazon Web Services Region in which the VPC is located.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 AwsEc2VpcPeeringConnectionVpcInfoDetails withVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public String toString()
toString
in class Object
Object.toString()
public AwsEc2VpcPeeringConnectionVpcInfoDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.