Class Endpoint

    • Constructor Detail

      • Endpoint

        public Endpoint()
    • Method Detail

      • setAddress

        public void setAddress​(String address)

        Specifies the DNS address of the DB instance.

        Parameters:
        address - Specifies the DNS address of the DB instance.
      • getAddress

        public String getAddress()

        Specifies the DNS address of the DB instance.

        Returns:
        Specifies the DNS address of the DB instance.
      • withAddress

        public Endpoint withAddress​(String address)

        Specifies the DNS address of the DB instance.

        Parameters:
        address - Specifies the DNS address of the DB instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPort

        public void setPort​(Integer port)

        Specifies the port that the database engine is listening on.

        Parameters:
        port - Specifies the port that the database engine is listening on.
      • getPort

        public Integer getPort()

        Specifies the port that the database engine is listening on.

        Returns:
        Specifies the port that the database engine is listening on.
      • withPort

        public Endpoint withPort​(Integer port)

        Specifies the port that the database engine is listening on.

        Parameters:
        port - Specifies the port that the database engine is listening on.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setHostedZoneId

        public void setHostedZoneId​(String hostedZoneId)

        Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.

        Parameters:
        hostedZoneId - Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
      • getHostedZoneId

        public String getHostedZoneId()

        Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.

        Returns:
        Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
      • withHostedZoneId

        public Endpoint withHostedZoneId​(String hostedZoneId)

        Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.

        Parameters:
        hostedZoneId - Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
        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