public class VpcPeeringConnectionVpcInfo
extends java.lang.Object
implements java.io.Serializable
Describes a VPC in a VPC peering connection.
Constructor and Description |
---|
VpcPeeringConnectionVpcInfo() |
Modifier and Type | Method and Description |
---|---|
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.
|
VpcPeeringConnectionOptionsDescription |
getPeeringOptions()
Information about the VPC peering connection options for the accepter
or requester VPC.
|
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 |
setPeeringOptions(VpcPeeringConnectionOptionsDescription peeringOptions)
Information about the VPC peering connection options for the accepter
or requester VPC.
|
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 |
withPeeringOptions(VpcPeeringConnectionOptionsDescription peeringOptions)
Information about the VPC peering connection options for the accepter
or requester VPC.
|
VpcPeeringConnectionVpcInfo |
withVpcId(java.lang.String vpcId)
The ID of the VPC.
|
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 VpcPeeringConnectionOptionsDescription getPeeringOptions()
public void setPeeringOptions(VpcPeeringConnectionOptionsDescription peeringOptions)
peeringOptions
- Information about the VPC peering connection options for the accepter
or requester VPC.public VpcPeeringConnectionVpcInfo withPeeringOptions(VpcPeeringConnectionOptionsDescription peeringOptions)
Returns a reference to this object so that method calls can be chained together.
peeringOptions
- Information about the VPC peering connection options for the accepter
or requester 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
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.