Class Endpoint
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.rds.Endpoint
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-25T14:21:22.358Z")
@Stability(Stable)
public class Endpoint
extends software.amazon.jsii.JsiiObject
Connection endpoint of a database cluster or instance.
Consists of a combination of hostname and port.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.rds.*; Endpoint endpoint = new Endpoint("address", 123);
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe hostname of the endpoint.getPort()
The port of the endpoint.The combination of "HOSTNAME:PORT" for this endpoint.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
Endpoint
protected Endpoint(software.amazon.jsii.JsiiObjectRef objRef) -
Endpoint
protected Endpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
Endpoint
- Parameters:
address
- This parameter is required.port
- This parameter is required.
-
-
Method Details
-
getHostname
The hostname of the endpoint. -
getPort
The port of the endpoint. -
getSocketAddress
The combination of "HOSTNAME:PORT" for this endpoint.
-