Package com.amazonaws.services.rds.model
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Endpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Endpoint
clone()
boolean
equals(Object obj)
String
getAddress()
Specifies the DNS address of the DB instance.String
getHostedZoneId()
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.Integer
getPort()
Specifies the port that the database engine is listening on.int
hashCode()
void
setAddress(String address)
Specifies the DNS address of the DB instance.void
setHostedZoneId(String hostedZoneId)
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.void
setPort(Integer port)
Specifies the port that the database engine is listening on.String
toString()
Returns a string representation of this object; useful for testing and debugging.Endpoint
withAddress(String address)
Specifies the DNS address of the DB instance.Endpoint
withHostedZoneId(String hostedZoneId)
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.Endpoint
withPort(Integer port)
Specifies the port that the database engine is listening on.
-
-
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-