Class Endpoint

java.lang.Object
com.amazonaws.services.rds.model.Endpoint
All Implemented Interfaces:
Serializable, Cloneable

public class Endpoint extends Object implements Serializable, Cloneable

This data type is used as a response element in the following actions:

See Also:
  • Constructor Details

    • Endpoint

      public Endpoint()
  • Method Details

    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Endpoint clone()
      Overrides:
      clone in class Object