java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.neptune.alpha.Endpoint
All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable

@Generated(value="jsii-pacmak/1.104.0 (build e79254c)", date="2024-11-22T02:24:11.774Z") @Stability(Experimental) public class Endpoint extends software.amazon.jsii.JsiiObject
(experimental) Connection endpoint of a neptune 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.neptune.alpha.*;
 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

    Constructors
    Modifier
    Constructor
    Description
     
    Endpoint(String address, Number port)
     
    protected
    Endpoint(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
     
    protected
    Endpoint(software.amazon.jsii.JsiiObjectRef objRef)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (experimental) The hostname of the endpoint.
    (experimental) The port of the endpoint.
    (experimental) 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

      @Stability(Experimental) public Endpoint(@NotNull String address, @NotNull Number port)
      Parameters:
      address - This parameter is required.
      port - This parameter is required.
  • Method Details

    • getHostname

      @Stability(Experimental) @NotNull public String getHostname()
      (experimental) The hostname of the endpoint.
    • getPort

      @Stability(Experimental) @NotNull public Number getPort()
      (experimental) The port of the endpoint.
    • getSocketAddress

      @Stability(Experimental) @NotNull public String getSocketAddress()
      (experimental) The combination of "HOSTNAME:PORT" for this endpoint.