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

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

There is a newer version: 0.0.44
Show newest version
package io.github.cdklabs.cdk.appflow;

/**
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-10-11T10:39:08.174Z")
@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.ConnectorProfileBase")
public abstract class ConnectorProfileBase extends software.amazon.awscdk.Resource implements io.github.cdklabs.cdk.appflow.IConnectorProfile {

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

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

    /**
     * @param scope This parameter is required.
     * @param id This parameter is required.
     * @param props This parameter is required.
     * @param connectorType This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    protected ConnectorProfileBase(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.ConnectorProfileProps props, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.ConnectorType connectorType) {
        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"), java.util.Objects.requireNonNull(connectorType, "connectorType is required") });
    }

    /**
     * @param props This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    protected abstract @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.appflow.CfnConnectorProfile.ConnectorProfileCredentialsProperty buildConnectorProfileCredentials(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.ConnectorProfileProps props);

    /**
     * @param props This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    protected abstract @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.appflow.CfnConnectorProfile.ConnectorProfilePropertiesProperty buildConnectorProfileProperties(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.appflow.ConnectorProfileProps props);

    /**
     * @param scope This parameter is required.
     * @param resource
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    protected void tryAddNodeDependency(final @org.jetbrains.annotations.NotNull software.constructs.IConstruct scope, final @org.jetbrains.annotations.Nullable java.lang.Object resource) {
        if (software.amazon.jsii.Configuration.getRuntimeTypeChecking()) {
            if (
                 !(resource instanceof java.lang.String)
                && !(resource instanceof software.constructs.IConstruct)
                && !(resource.getClass().equals(software.amazon.jsii.JsiiObject.class))
            ) {
                throw new IllegalArgumentException(
                    new java.lang.StringBuilder("Expected ")
                        .append("resource")
                        .append(" to be one of: java.lang.String, software.constructs.IConstruct; received ")
                        .append(resource.getClass()).toString());
            }
        }
        software.amazon.jsii.Kernel.call(this, "tryAddNodeDependency", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), resource });
    }

    /**
     * @param scope This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    protected void tryAddNodeDependency(final @org.jetbrains.annotations.NotNull software.constructs.IConstruct scope) {
        software.amazon.jsii.Kernel.call(this, "tryAddNodeDependency", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(scope, "scope is required") });
    }

    /**
     */
    @Override
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.NotNull java.lang.String getArn() {
        return software.amazon.jsii.Kernel.get(this, "arn", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }

    /**
     */
    @Override
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.NotNull java.lang.String getName() {
        return software.amazon.jsii.Kernel.get(this, "name", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
    }

    /**
     */
    @Override
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.secretsmanager.ISecret getCredentials() {
        return software.amazon.jsii.Kernel.get(this, "credentials", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.secretsmanager.ISecret.class));
    }

    /**
     * A proxy class which represents a concrete javascript instance of this type.
     */
    @software.amazon.jsii.Internal
    private static final class Jsii$Proxy extends io.github.cdklabs.cdk.appflow.ConnectorProfileBase implements io.github.cdklabs.cdk.appflow.IConnectorProfile.Jsii$Default, software.amazon.awscdk.IResource.Jsii$Default, software.constructs.IConstruct.Jsii$Default {
        protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
            super(objRef);
        }

        /**
         * @param props This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        @Override
        protected final @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 final @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") });
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy