Class CreateVpcPeeringConnectionRequest

    • Constructor Detail

      • CreateVpcPeeringConnectionRequest

        public CreateVpcPeeringConnectionRequest()
    • Method Detail

      • setVpcId

        public void setVpcId​(String vpcId)

        The ID of the requester VPC.

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

        public String getVpcId()

        The ID of the requester VPC.

        Returns:
        The ID of the requester VPC.
      • withVpcId

        public CreateVpcPeeringConnectionRequest withVpcId​(String vpcId)

        The ID of the requester VPC.

        Parameters:
        vpcId - The ID of the requester VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPeerVpcId

        public void setPeerVpcId​(String peerVpcId)

        The ID of the VPC with which you are creating the VPC peering connection.

        Parameters:
        peerVpcId - The ID of the VPC with which you are creating the VPC peering connection.
      • getPeerVpcId

        public String getPeerVpcId()

        The ID of the VPC with which you are creating the VPC peering connection.

        Returns:
        The ID of the VPC with which you are creating the VPC peering connection.
      • withPeerVpcId

        public CreateVpcPeeringConnectionRequest withPeerVpcId​(String peerVpcId)

        The ID of the VPC with which you are creating the VPC peering connection.

        Parameters:
        peerVpcId - The ID of the VPC with which you are creating the VPC peering connection.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPeerOwnerId

        public void setPeerOwnerId​(String peerOwnerId)

        The AWS account ID of the owner of the peer VPC.

        Default: Your AWS account ID

        Parameters:
        peerOwnerId - The AWS account ID of the owner of the peer VPC.

        Default: Your AWS account ID

      • getPeerOwnerId

        public String getPeerOwnerId()

        The AWS account ID of the owner of the peer VPC.

        Default: Your AWS account ID

        Returns:
        The AWS account ID of the owner of the peer VPC.

        Default: Your AWS account ID

      • withPeerOwnerId

        public CreateVpcPeeringConnectionRequest withPeerOwnerId​(String peerOwnerId)

        The AWS account ID of the owner of the peer VPC.

        Default: Your AWS account ID

        Parameters:
        peerOwnerId - The AWS account ID of the owner of the peer VPC.

        Default: Your AWS account ID

        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