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

ca.wheatstalk.cdkecskeycloak.FromDatabaseInfoProvider Maven / Gradle / Ivy

There is a newer version: 0.0.164
Show newest version
package ca.wheatstalk.cdkecskeycloak;

/**
 * Provide database info directly.
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.29.0 (build 41df200)", date = "2021-04-28T04:27:48.344Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = ca.wheatstalk.cdkecskeycloak.$Module.class, fqn = "@wheatstalk/cdk-ecs-keycloak.FromDatabaseInfoProvider")
public class FromDatabaseInfoProvider extends software.amazon.jsii.JsiiObject implements ca.wheatstalk.cdkecskeycloak.IDatabaseInfoProvider {

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

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

    /**
     * @param props This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public FromDatabaseInfoProvider(final @org.jetbrains.annotations.NotNull ca.wheatstalk.cdkecskeycloak.FromDatabaseInfoProviderProps props) {
        super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(props, "props is required") });
    }

    /**
     * A fluent builder for {@link ca.wheatstalk.cdkecskeycloak.FromDatabaseInfoProvider}.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public static final class Builder implements software.amazon.jsii.Builder {
        /**
         * @return a new instance of {@link Builder}.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
        public static Builder create() {
            return new Builder();
        }

        private final ca.wheatstalk.cdkecskeycloak.FromDatabaseInfoProviderProps.Builder props;

        private Builder() {
            this.props = new ca.wheatstalk.cdkecskeycloak.FromDatabaseInfoProviderProps.Builder();
        }

        /**
         * Database credentials in standard RDS json format.
         * 

* @return {@code this} * @param credentials Database credentials in standard RDS json format. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder credentials(final software.amazon.awscdk.services.secretsmanager.ISecret credentials) { this.props.credentials(credentials); return this; } /** * Database vendor. *

* @return {@code this} * @param vendor Database vendor. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder vendor(final ca.wheatstalk.cdkecskeycloak.KeycloakDatabaseVendor vendor) { this.props.vendor(vendor); return this; } /** * A connectable so that the cluster can allow itself to connect to the database. *

* @return {@code this} * @param connectable A connectable so that the cluster can allow itself to connect to the database. This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public Builder connectable(final software.amazon.awscdk.services.ec2.IConnectable connectable) { this.props.connectable(connectable); return this; } /** * @returns a newly built instance of {@link ca.wheatstalk.cdkecskeycloak.FromDatabaseInfoProvider}. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public ca.wheatstalk.cdkecskeycloak.FromDatabaseInfoProvider build() { return new ca.wheatstalk.cdkecskeycloak.FromDatabaseInfoProvider( this.props.build() ); } } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy