Class VpcPeeringConnectionVpcInfo

    • Constructor Detail

      • VpcPeeringConnectionVpcInfo

        public VpcPeeringConnectionVpcInfo()
    • Method Detail

      • setCidrBlock

        public void setCidrBlock​(String cidrBlock)

        The CIDR block for the VPC.

        Parameters:
        cidrBlock - The CIDR block for the VPC.
      • getCidrBlock

        public String getCidrBlock()

        The CIDR block for the VPC.

        Returns:
        The CIDR block for the VPC.
      • withCidrBlock

        public VpcPeeringConnectionVpcInfo withCidrBlock​(String cidrBlock)

        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

        public void setOwnerId​(String ownerId)

        The AWS account ID of the VPC owner.

        Parameters:
        ownerId - The AWS account ID of the VPC owner.
      • getOwnerId

        public String getOwnerId()

        The AWS account ID of the VPC owner.

        Returns:
        The AWS account ID of the VPC owner.
      • withOwnerId

        public VpcPeeringConnectionVpcInfo withOwnerId​(String ownerId)

        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

        public void setVpcId​(String vpcId)

        The ID of the VPC.

        Parameters:
        vpcId - The ID of the VPC.
      • getVpcId

        public String getVpcId()

        The ID of the VPC.

        Returns:
        The ID of the VPC.
      • withVpcId

        public VpcPeeringConnectionVpcInfo withVpcId​(String vpcId)

        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

        public void setPeeringOptions​(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.
      • getPeeringOptions

        public VpcPeeringConnectionOptionsDescription 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

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object