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

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

There is a newer version: 1.204.0
Show newest version
package software.amazon.awscdk.services.redshift;

/**
 * Connection endpoint of a redshift cluster.
 * 

* Consists of a combination of hostname and port. *

* EXPERIMENTAL */ @javax.annotation.Generated(value = "jsii-pacmak/1.6.0 (build 248e75b)", date = "2020-06-04T14:11:11.432Z") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.redshift.$Module.class, fqn = "@aws-cdk/aws-redshift.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); } /** * EXPERIMENTAL *

* @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") }); } /** * The hostname of the endpoint. *

* EXPERIMENTAL */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getHostname() { return this.jsiiGet("hostname", java.lang.String.class); } /** * The port of the endpoint. *

* EXPERIMENTAL */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.Number getPort() { return this.jsiiGet("port", java.lang.Number.class); } /** * The combination of "HOSTNAME:PORT" for this endpoint. *

* EXPERIMENTAL */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public @org.jetbrains.annotations.NotNull java.lang.String getSocketAddress() { return this.jsiiGet("socketAddress", java.lang.String.class); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy