Class Endpoint
java.lang.Object
com.amazonaws.services.redshift.model.Endpoint
- All Implemented Interfaces:
Serializable, Cloneable
Describes a connection endpoint.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe DNS address of the Cluster.getPort()The port that the database engine is listening on.inthashCode()voidsetAddress(String address) The DNS address of the Cluster.voidThe port that the database engine is listening on.toString()Returns a string representation of this object; useful for testing and debugging.withAddress(String address) The DNS address of the Cluster.The port that the database engine is listening on.
-
Constructor Details
-
Endpoint
public Endpoint()
-
-
Method Details
-
setAddress
The DNS address of the Cluster.
- Parameters:
address- The DNS address of the Cluster.
-
getAddress
-
withAddress
-
setPort
The port that the database engine is listening on.
- Parameters:
port- The port that the database engine is listening on.
-
getPort
The port that the database engine is listening on.
- Returns:
- The port that the database engine is listening on.
-
withPort
-
toString
-
equals
-
hashCode
-
clone
-