All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awscdk.services.redshift.alpha.Endpoint Maven / Gradle / Ivy

There is a newer version: 2.167.1-alpha.0
Show newest version
package software.amazon.awscdk.services.redshift.alpha;

/**
 * (experimental) Connection endpoint of a redshift cluster.
 * 

* 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.redshift.alpha.*;
 * Endpoint endpoint = new Endpoint("address", 123);
 * 
*/ @javax.annotation.Generated(value = "jsii-pacmak/1.104.0 (build e79254c)", date = "2024-11-13T21:17:43.419Z") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.redshift.alpha.$Module.class, fqn = "@aws-cdk/aws-redshift-alpha.Endpoint") public class Endpoint extends software.amazon.jsii.JsiiObject { protected Endpoint(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } protected Endpoint(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) { super(initializationMode); } /** * @param address This parameter is required. * @param port This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Endpoint(final @org.jetbrains.annotations.NotNull java.lang.String address, final @org.jetbrains.annotations.NotNull java.lang.Number port) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(address, "address is required"), java.util.Objects.requireNonNull(port, "port is required") }); } /** * (experimental) The hostname of the endpoint. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getHostname() { return software.amazon.jsii.Kernel.get(this, "hostname", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * (experimental) The port of the endpoint. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number getPort() { return software.amazon.jsii.Kernel.get(this, "port", software.amazon.jsii.NativeType.forClass(java.lang.Number.class)); } /** * (experimental) The combination of "HOSTNAME:PORT" for this endpoint. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getSocketAddress() { return software.amazon.jsii.Kernel.get(this, "socketAddress", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy