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()booleanThe 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.inthashCode()voidsetCidrBlock(String cidrBlock) The CIDR block for the VPC.voidsetOwnerId(String ownerId) The AWS account ID of the VPC owner.voidsetPeeringOptions(VpcPeeringConnectionOptionsDescription peeringOptions) Information about the VPC peering connection options for the accepter or requester VPC.voidThe 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
-
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
-
getVpcId
-
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
-
equals
-
hashCode
-
clone
-