Class AssociateVPCWithHostedZoneRequest

    • Constructor Detail

      • AssociateVPCWithHostedZoneRequest

        public AssociateVPCWithHostedZoneRequest()
    • Method Detail

      • setHostedZoneId

        public void setHostedZoneId​(String hostedZoneId)

        The ID of the hosted zone you want to associate your VPC with.

        Note that you cannot associate a VPC with a hosted zone that doesn't have an existing VPC association.

        Parameters:
        hostedZoneId - The ID of the hosted zone you want to associate your VPC with.

        Note that you cannot associate a VPC with a hosted zone that doesn't have an existing VPC association.

      • getHostedZoneId

        public String getHostedZoneId()

        The ID of the hosted zone you want to associate your VPC with.

        Note that you cannot associate a VPC with a hosted zone that doesn't have an existing VPC association.

        Returns:
        The ID of the hosted zone you want to associate your VPC with.

        Note that you cannot associate a VPC with a hosted zone that doesn't have an existing VPC association.

      • withHostedZoneId

        public AssociateVPCWithHostedZoneRequest withHostedZoneId​(String hostedZoneId)

        The ID of the hosted zone you want to associate your VPC with.

        Note that you cannot associate a VPC with a hosted zone that doesn't have an existing VPC association.

        Parameters:
        hostedZoneId - The ID of the hosted zone you want to associate your VPC with.

        Note that you cannot associate a VPC with a hosted zone that doesn't have an existing VPC association.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setVPC

        public void setVPC​(VPC vPC)

        The VPC that you want your hosted zone to be associated with.

        Parameters:
        vPC - The VPC that you want your hosted zone to be associated with.
      • getVPC

        public VPC getVPC()

        The VPC that you want your hosted zone to be associated with.

        Returns:
        The VPC that you want your hosted zone to be associated with.
      • withVPC

        public AssociateVPCWithHostedZoneRequest withVPC​(VPC vPC)

        The VPC that you want your hosted zone to be associated with.

        Parameters:
        vPC - The VPC that you want your hosted zone to be associated with.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setComment

        public void setComment​(String comment)

        Optional: Any comments you want to include about a AssociateVPCWithHostedZoneRequest.

        Parameters:
        comment - Optional: Any comments you want to include about a AssociateVPCWithHostedZoneRequest
      • getComment

        public String getComment()

        Optional: Any comments you want to include about a AssociateVPCWithHostedZoneRequest.

        Returns:
        Optional: Any comments you want to include about a AssociateVPCWithHostedZoneRequest
      • withComment

        public AssociateVPCWithHostedZoneRequest withComment​(String comment)

        Optional: Any comments you want to include about a AssociateVPCWithHostedZoneRequest.

        Parameters:
        comment - Optional: Any comments you want to include about a AssociateVPCWithHostedZoneRequest
        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