@Generated(value="jsii-pacmak/1.7.0 (build 179a3a5)", date="2020-06-24T18:52:21.655Z") @Stability(value=Experimental) public class Endpoint extends software.amazon.jsii.JsiiObject
Consists of a combination of hostname and port.
EXPERIMENTAL
| Modifier | Constructor and Description |
|---|---|
protected |
Endpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Endpoint(software.amazon.jsii.JsiiObjectRef objRef) |
|
Endpoint(String address,
Number port)
EXPERIMENTAL
|
| 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, jsiiStaticSetprotected Endpoint(software.amazon.jsii.JsiiObjectRef objRef)
protected Endpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public String getHostname()
EXPERIMENTAL
@Stability(value=Experimental) @NotNull public Number getPort()
EXPERIMENTAL
@Stability(value=Experimental) @NotNull public String getSocketAddress()
EXPERIMENTAL
Copyright © 2020. All rights reserved.