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

com.pulumi.aws.pipes.inputs.PipeTargetParametersRedshiftDataParametersArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.pipes.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class PipeTargetParametersRedshiftDataParametersArgs extends com.pulumi.resources.ResourceArgs {

    public static final PipeTargetParametersRedshiftDataParametersArgs Empty = new PipeTargetParametersRedshiftDataParametersArgs();

    @Import(name="database", required=true)
    private Output database;

    public Output database() {
        return this.database;
    }

    @Import(name="dbUser")
    private @Nullable Output dbUser;

    public Optional> dbUser() {
        return Optional.ofNullable(this.dbUser);
    }

    @Import(name="secretManagerArn")
    private @Nullable Output secretManagerArn;

    public Optional> secretManagerArn() {
        return Optional.ofNullable(this.secretManagerArn);
    }

    @Import(name="sqls", required=true)
    private Output> sqls;

    public Output> sqls() {
        return this.sqls;
    }

    @Import(name="statementName")
    private @Nullable Output statementName;

    public Optional> statementName() {
        return Optional.ofNullable(this.statementName);
    }

    @Import(name="withEvent")
    private @Nullable Output withEvent;

    public Optional> withEvent() {
        return Optional.ofNullable(this.withEvent);
    }

    private PipeTargetParametersRedshiftDataParametersArgs() {}

    private PipeTargetParametersRedshiftDataParametersArgs(PipeTargetParametersRedshiftDataParametersArgs $) {
        this.database = $.database;
        this.dbUser = $.dbUser;
        this.secretManagerArn = $.secretManagerArn;
        this.sqls = $.sqls;
        this.statementName = $.statementName;
        this.withEvent = $.withEvent;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(PipeTargetParametersRedshiftDataParametersArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private PipeTargetParametersRedshiftDataParametersArgs $;

        public Builder() {
            $ = new PipeTargetParametersRedshiftDataParametersArgs();
        }

        public Builder(PipeTargetParametersRedshiftDataParametersArgs defaults) {
            $ = new PipeTargetParametersRedshiftDataParametersArgs(Objects.requireNonNull(defaults));
        }

        public Builder database(Output database) {
            $.database = database;
            return this;
        }

        public Builder database(String database) {
            return database(Output.of(database));
        }

        public Builder dbUser(@Nullable Output dbUser) {
            $.dbUser = dbUser;
            return this;
        }

        public Builder dbUser(String dbUser) {
            return dbUser(Output.of(dbUser));
        }

        public Builder secretManagerArn(@Nullable Output secretManagerArn) {
            $.secretManagerArn = secretManagerArn;
            return this;
        }

        public Builder secretManagerArn(String secretManagerArn) {
            return secretManagerArn(Output.of(secretManagerArn));
        }

        public Builder sqls(Output> sqls) {
            $.sqls = sqls;
            return this;
        }

        public Builder sqls(List sqls) {
            return sqls(Output.of(sqls));
        }

        public Builder sqls(String... sqls) {
            return sqls(List.of(sqls));
        }

        public Builder statementName(@Nullable Output statementName) {
            $.statementName = statementName;
            return this;
        }

        public Builder statementName(String statementName) {
            return statementName(Output.of(statementName));
        }

        public Builder withEvent(@Nullable Output withEvent) {
            $.withEvent = withEvent;
            return this;
        }

        public Builder withEvent(Boolean withEvent) {
            return withEvent(Output.of(withEvent));
        }

        public PipeTargetParametersRedshiftDataParametersArgs build() {
            if ($.database == null) {
                throw new MissingRequiredPropertyException("PipeTargetParametersRedshiftDataParametersArgs", "database");
            }
            if ($.sqls == null) {
                throw new MissingRequiredPropertyException("PipeTargetParametersRedshiftDataParametersArgs", "sqls");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy