@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-08T20:48:15.727Z") @Stability(value=Stable) public class Endpoint extends software.amazon.jsii.JsiiObject
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);
Modifier | Constructor and Description |
---|---|
protected |
Endpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Endpoint(software.amazon.jsii.JsiiObjectRef objRef) |
|
Endpoint(String address,
Number port) |
Modifier and Type | Method and Description |
---|---|
String |
getHostname()
The hostname of the endpoint.
|
Number |
getPort()
The port of the endpoint.
|
String |
getSocketAddress()
The combination of "HOSTNAME:PORT" for this endpoint.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
protected Endpoint(software.amazon.jsii.JsiiObjectRef objRef)
protected Endpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) @NotNull public String getHostname()
@Stability(value=Stable) @NotNull public Number getPort()
@Stability(value=Stable) @NotNull public String getSocketAddress()
Copyright © 2022. All rights reserved.