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

io.github.cdklabs.cdk.amazonmq.ActiveMqBrokerConfiguration Maven / Gradle / Ivy

package io.github.cdklabs.cdk.amazonmq;

/**
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.102.0 (build e354887)", date = "2024-08-08T22:30:31.700Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@software.amazon.jsii.Jsii(module = io.github.cdklabs.cdk.amazonmq.$Module.class, fqn = "@cdklabs/cdk-amazonmq.ActiveMqBrokerConfiguration")
public class ActiveMqBrokerConfiguration extends io.github.cdklabs.cdk.amazonmq.BrokerConfiguration {

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

    protected ActiveMqBrokerConfiguration(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.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public ActiveMqBrokerConfiguration(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.amazonmq.ActiveMqBrokerConfigurationProps 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") });
    }

    /**
     * @param scope This parameter is required.
     * @param logicalId This parameter is required.
     * @param attrs This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public static @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.amazonmq.IActiveMqBrokerConfiguration fromAttributes(final @org.jetbrains.annotations.NotNull software.constructs.Construct scope, final @org.jetbrains.annotations.NotNull java.lang.String logicalId, final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.amazonmq.BrokerConfigurationAttributes attrs) {
        return software.amazon.jsii.JsiiObject.jsiiStaticCall(io.github.cdklabs.cdk.amazonmq.ActiveMqBrokerConfiguration.class, "fromAttributes", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.amazonmq.IActiveMqBrokerConfiguration.class), new Object[] { java.util.Objects.requireNonNull(scope, "scope is required"), java.util.Objects.requireNonNull(logicalId, "logicalId is required"), java.util.Objects.requireNonNull(attrs, "attrs is required") });
    }

    /**
     * @param broker This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.amazonmq.ConfigurationAssociation associateWith(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.amazonmq.IActiveMqBrokerDeployment broker) {
        return software.amazon.jsii.Kernel.call(this, "associateWith", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.amazonmq.ConfigurationAssociation.class), new Object[] { java.util.Objects.requireNonNull(broker, "broker is required") });
    }

    /**
     * @param options This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.amazonmq.IActiveMqBrokerConfiguration createRevision(final @org.jetbrains.annotations.NotNull io.github.cdklabs.cdk.amazonmq.ActiveMqBrokerConfigurationOptions options) {
        return software.amazon.jsii.Kernel.call(this, "createRevision", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.cdk.amazonmq.IActiveMqBrokerConfiguration.class), new Object[] { java.util.Objects.requireNonNull(options, "options is required") });
    }

    /**
     * (experimental) A fluent builder for {@link io.github.cdklabs.cdk.amazonmq.ActiveMqBrokerConfiguration}.
     */
    @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 This parameter is required.
         * @param id 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.amazonmq.ActiveMqBrokerConfigurationProps.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.amazonmq.ActiveMqBrokerConfigurationProps.Builder();
        }

        /**
         * @return {@code this}
         * @param definition This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder definition(final io.github.cdklabs.cdk.amazonmq.ActiveMqBrokerConfigurationDefinition definition) {
            this.props.definition(definition);
            return this;
        }

        /**
         * @return {@code this}
         * @param description This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder description(final java.lang.String description) {
            this.props.description(description);
            return this;
        }

        /**
         * @return {@code this}
         * @param authenticationStrategy This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder authenticationStrategy(final io.github.cdklabs.cdk.amazonmq.ActiveMqAuthenticationStrategy authenticationStrategy) {
            this.props.authenticationStrategy(authenticationStrategy);
            return this;
        }

        /**
         * @return {@code this}
         * @param engineVersion This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder engineVersion(final io.github.cdklabs.cdk.amazonmq.ActiveMqBrokerEngineVersion engineVersion) {
            this.props.engineVersion(engineVersion);
            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;
        }

        /**
         * @return a newly built instance of {@link io.github.cdklabs.cdk.amazonmq.ActiveMqBrokerConfiguration}.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        @Override
        public io.github.cdklabs.cdk.amazonmq.ActiveMqBrokerConfiguration build() {
            return new io.github.cdklabs.cdk.amazonmq.ActiveMqBrokerConfiguration(
                this.scope,
                this.id,
                this.props.build()
            );
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy