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

io.github.cdklabs.cdk.appflow.JdbcSmallDataScaleConnectorProfile Maven / Gradle / Ivy

package io.github.cdklabs.cdk.appflow;

/**
 * (experimental) The connector profile for the JDBC connector.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-23T07:35:38.248Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = io.github.cdklabs.cdk.appflow.$Module.class, fqn = "@cdklabs/cdk-appflow.JdbcSmallDataScaleConnectorProfile")
public class JdbcSmallDataScaleConnectorProfile extends io.github.cdklabs.cdk.appflow.ConnectorProfileBase {

    protected JdbcSmallDataScaleConnectorProfile(final software.amazon.jsii.JsiiObjectRef objRef) {
        super(objRef);
    }

    protected JdbcSmallDataScaleConnectorProfile(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
        super(initializationMode);
    }

    /**
     * (experimental) Creates a new instance of the JdbcSmallDataScaleConnectorProfile.
     * 

* @param scope the Construct scope for this connector profile. This parameter is required. * @param id the id of this connector profile. This parameter is required. * @param props properties to use when instantiating this connector profile. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public JdbcSmallDataScaleConnectorProfile(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.JdbcSmallDataScaleConnectorProfileProps props) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(props, "props is required") }); } /** * (experimental) Imports an existing JdbcSmallDataScaleConnectorProfile. *

* @return An instance of the JdbcSmallDataScaleConnectorProfile * @param scope the scope for the connector profile. This parameter is required. * @param id the connector profile's ID. This parameter is required. * @param arn the ARN for the existing connector profile. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.JdbcSmallDataScaleConnectorProfile fromConnectionProfileArn(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull java.lang.String arn) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(io.github.cdklabs.cdk.appflow.JdbcSmallDataScaleConnectorProfile.class, "fromConnectionProfileArn", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.appflow.JdbcSmallDataScaleConnectorProfile.class), new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(arn, "arn is required") }); } /** * (experimental) Imports an existing JdbcSmallDataScaleConnectorProfile. *

* @return An instance of the JdbcSmallDataScaleConnectorProfile * @param scope the scope for the connector profile. This parameter is required. * @param id the connector profile's ID. This parameter is required. * @param name the name for the existing connector profile. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.JdbcSmallDataScaleConnectorProfile fromConnectionProfileName(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String id, final @org.jetbrains.annotations.NotNull java.lang.String name) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(io.github.cdklabs.cdk.appflow.JdbcSmallDataScaleConnectorProfile.class, "fromConnectionProfileName", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.appflow.JdbcSmallDataScaleConnectorProfile.class), new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(id, "id is required"), java.util.Objects.requireNonNull(name, "name is required") }); } /** * @param props This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override protected @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.appflow.CfnConnectorProfile.ConnectorProfileCredentialsProperty buildConnectorProfileCredentials(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.ConnectorProfileProps props) { return software.amazon.jsii.Kernel.call(this, "buildConnectorProfileCredentials", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.appflow.CfnConnectorProfile.ConnectorProfileCredentialsProperty.class), new Object[] { java.util.Objects.requireNonNull(props, "props is required") }); } /** * @param _props This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override protected @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.appflow.CfnConnectorProfile.ConnectorProfilePropertiesProperty buildConnectorProfileProperties(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.ConnectorProfileProps _props) { return software.amazon.jsii.Kernel.call(this, "buildConnectorProfileProperties", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.appflow.CfnConnectorProfile.ConnectorProfilePropertiesProperty.class), new Object[] { java.util.Objects.requireNonNull(_props, "_props is required") }); } /** * (experimental) A fluent builder for {@link io.github.cdklabs.cdk.appflow.JdbcSmallDataScaleConnectorProfile}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static final class Builder implements software.amazon.jsii.Builder { /** * @return a new instance of {@link Builder}. * @param scope the Construct scope for this connector profile. This parameter is required. * @param id the id of this connector profile. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static Builder create(final software.constructs.Construct scope, final java.lang.String id) { return new Builder(scope, id); } private final software.constructs.Construct scope; private final java.lang.String id; private final io.github.cdklabs.cdk.appflow.JdbcSmallDataScaleConnectorProfileProps.Builder props; private Builder(final software.constructs.Construct scope, final java.lang.String id) { this.scope = scope; this.id = id; this.props = new io.github.cdklabs.cdk.appflow.JdbcSmallDataScaleConnectorProfileProps.Builder(); } /** * (experimental) TODO: think if this should be here as not all connector profiles have that. *

* @return {@code this} * @param key TODO: think if this should be here as not all connector profiles have that. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder key(final software.amazon.awscdk.services.kms.IKey key) { this.props.key(key); return this; } /** * @return {@code this} * @param name This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder name(final java.lang.String name) { this.props.name(name); return this; } /** * (experimental) The auth settings for the profile. *

* @return {@code this} * @param basicAuth The auth settings for the profile. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder basicAuth(final io.github.cdklabs.cdk.appflow.JdbcSmallDataScaleBasicAuthSettings basicAuth) { this.props.basicAuth(basicAuth); return this; } /** * (experimental) The name of the database. *

* @return {@code this} * @param database The name of the database. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder database(final java.lang.String database) { this.props.database(database); return this; } /** * (experimental) The driver for the database. *

* Effectively specifies the type of database. *

* @return {@code this} * @param driver The driver for the database. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder driver(final io.github.cdklabs.cdk.appflow.JdbcDriver driver) { this.props.driver(driver); return this; } /** * (experimental) The hostname of the database to interact with. *

* @return {@code this} * @param hostname The hostname of the database to interact with. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder hostname(final java.lang.String hostname) { this.props.hostname(hostname); return this; } /** * (experimental) The database communication port. *

* @return {@code this} * @param port The database communication port. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public Builder port(final java.lang.Number port) { this.props.port(port); return this; } /** * @return a newly built instance of {@link io.github.cdklabs.cdk.appflow.JdbcSmallDataScaleConnectorProfile}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public io.github.cdklabs.cdk.appflow.JdbcSmallDataScaleConnectorProfile build() { return new io.github.cdklabs.cdk.appflow.JdbcSmallDataScaleConnectorProfile( this.scope, this.id, this.props.build() ); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy