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

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

The newest version!
package io.github.cdklabs.cdk.appflow;

/**
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-23T07:35:38.260Z")
@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.OnDemandFlow")
public class OnDemandFlow extends io.github.cdklabs.cdk.appflow.FlowBase implements io.github.cdklabs.cdk.appflow.IFlow {

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

    protected OnDemandFlow(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 OnDemandFlow(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.OnDemandFlowProps 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) A fluent builder for {@link io.github.cdklabs.cdk.appflow.OnDemandFlow}.
     */
    @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.appflow.OnDemandFlowProps.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.OnDemandFlowProps.Builder();
        }

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

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

        /**
         * @return {@code this}
         * @param source This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder source(final io.github.cdklabs.cdk.appflow.ISource source) {
            this.props.source(source);
            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 filters This parameter is required.
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder filters(final java.util.List filters) {
            this.props.filters(filters);
            return this;
        }

        /**
         * @return {@code this}
         * @param key 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;
        }

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy