Package com.amazonaws.services.ec2.model
Class VpcPeeringConnectionVpcInfo
java.lang.Object
com.amazonaws.services.ec2.model.VpcPeeringConnectionVpcInfo
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a VPC in a VPC peering connection.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The CIDR block for the VPC.The AWS account ID of the VPC owner.Information about the VPC peering connection options for the accepter or requester VPC.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
The ID of the VPC.toString()
Returns a string representation of this object; useful for testing and debugging.withCidrBlock
(String cidrBlock) The CIDR block for the VPC.withOwnerId
(String ownerId) The AWS account ID of the VPC owner.withPeeringOptions
(VpcPeeringConnectionOptionsDescription peeringOptions) Information about the VPC peering connection options for the accepter or requester VPC.The ID of the VPC.
-
Constructor Details
-
VpcPeeringConnectionVpcInfo
public VpcPeeringConnectionVpcInfo()
-
-
Method Details
-
setCidrBlock
The CIDR block for the VPC.
- Parameters:
cidrBlock
- The CIDR block for the VPC.
-
getCidrBlock
The CIDR block for the VPC.
- Returns:
- The CIDR block for the VPC.
-
withCidrBlock
The CIDR block for the VPC.
- Parameters:
cidrBlock
- The CIDR block for the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setOwnerId
The AWS account ID of the VPC owner.
- Parameters:
ownerId
- The AWS account ID of the VPC owner.
-
getOwnerId
The AWS account ID of the VPC owner.
- Returns:
- The AWS account ID of the VPC owner.
-
withOwnerId
The AWS account ID of the VPC owner.
- Parameters:
ownerId
- The AWS account ID of the VPC owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVpcId
The ID of the VPC.
- Parameters:
vpcId
- The ID of the VPC.
-
getVpcId
The ID of the VPC.
- Returns:
- The ID of the VPC.
-
withVpcId
The ID of the VPC.
- Parameters:
vpcId
- The ID of the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPeeringOptions
Information about the VPC peering connection options for the accepter or requester VPC.
- Parameters:
peeringOptions
- Information about the VPC peering connection options for the accepter or requester VPC.
-
getPeeringOptions
Information about the VPC peering connection options for the accepter or requester VPC.
- Returns:
- Information about the VPC peering connection options for the accepter or requester VPC.
-
withPeeringOptions
public VpcPeeringConnectionVpcInfo withPeeringOptions(VpcPeeringConnectionOptionsDescription peeringOptions) Information about the VPC peering connection options for the accepter or requester VPC.
- Parameters:
peeringOptions
- Information about the VPC peering connection options for the accepter or requester VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-