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

com.pulumi.aws.appflow.inputs.ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesRedshiftArgs Maven / Gradle / Ivy

// *** 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.appflow.inputs;

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


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

    public static final ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesRedshiftArgs Empty = new ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesRedshiftArgs();

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

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

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

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

    /**
     * The unique ID that's assigned to an Amazon Redshift cluster.
     * 
     */
    @Import(name="clusterIdentifier")
    private @Nullable Output clusterIdentifier;

    /**
     * @return The unique ID that's assigned to an Amazon Redshift cluster.
     * 
     */
    public Optional> clusterIdentifier() {
        return Optional.ofNullable(this.clusterIdentifier);
    }

    /**
     * ARN of the IAM role that permits AppFlow to access the database through Data API.
     * 
     */
    @Import(name="dataApiRoleArn")
    private @Nullable Output dataApiRoleArn;

    /**
     * @return ARN of the IAM role that permits AppFlow to access the database through Data API.
     * 
     */
    public Optional> dataApiRoleArn() {
        return Optional.ofNullable(this.dataApiRoleArn);
    }

    /**
     * The name of an Amazon Redshift database.
     * 
     */
    @Import(name="databaseName")
    private @Nullable Output databaseName;

    /**
     * @return The name of an Amazon Redshift database.
     * 
     */
    public Optional> databaseName() {
        return Optional.ofNullable(this.databaseName);
    }

    /**
     * The JDBC URL of the Amazon Redshift cluster.
     * 
     */
    @Import(name="databaseUrl")
    private @Nullable Output databaseUrl;

    /**
     * @return The JDBC URL of the Amazon Redshift cluster.
     * 
     */
    public Optional> databaseUrl() {
        return Optional.ofNullable(this.databaseUrl);
    }

    /**
     * ARN of the IAM role.
     * 
     */
    @Import(name="roleArn", required=true)
    private Output roleArn;

    /**
     * @return ARN of the IAM role.
     * 
     */
    public Output roleArn() {
        return this.roleArn;
    }

    private ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesRedshiftArgs() {}

    private ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesRedshiftArgs(ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesRedshiftArgs $) {
        this.bucketName = $.bucketName;
        this.bucketPrefix = $.bucketPrefix;
        this.clusterIdentifier = $.clusterIdentifier;
        this.dataApiRoleArn = $.dataApiRoleArn;
        this.databaseName = $.databaseName;
        this.databaseUrl = $.databaseUrl;
        this.roleArn = $.roleArn;
    }

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

    public static final class Builder {
        private ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesRedshiftArgs $;

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

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

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

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

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

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

        /**
         * @param clusterIdentifier The unique ID that's assigned to an Amazon Redshift cluster.
         * 
         * @return builder
         * 
         */
        public Builder clusterIdentifier(@Nullable Output clusterIdentifier) {
            $.clusterIdentifier = clusterIdentifier;
            return this;
        }

        /**
         * @param clusterIdentifier The unique ID that's assigned to an Amazon Redshift cluster.
         * 
         * @return builder
         * 
         */
        public Builder clusterIdentifier(String clusterIdentifier) {
            return clusterIdentifier(Output.of(clusterIdentifier));
        }

        /**
         * @param dataApiRoleArn ARN of the IAM role that permits AppFlow to access the database through Data API.
         * 
         * @return builder
         * 
         */
        public Builder dataApiRoleArn(@Nullable Output dataApiRoleArn) {
            $.dataApiRoleArn = dataApiRoleArn;
            return this;
        }

        /**
         * @param dataApiRoleArn ARN of the IAM role that permits AppFlow to access the database through Data API.
         * 
         * @return builder
         * 
         */
        public Builder dataApiRoleArn(String dataApiRoleArn) {
            return dataApiRoleArn(Output.of(dataApiRoleArn));
        }

        /**
         * @param databaseName The name of an Amazon Redshift database.
         * 
         * @return builder
         * 
         */
        public Builder databaseName(@Nullable Output databaseName) {
            $.databaseName = databaseName;
            return this;
        }

        /**
         * @param databaseName The name of an Amazon Redshift database.
         * 
         * @return builder
         * 
         */
        public Builder databaseName(String databaseName) {
            return databaseName(Output.of(databaseName));
        }

        /**
         * @param databaseUrl The JDBC URL of the Amazon Redshift cluster.
         * 
         * @return builder
         * 
         */
        public Builder databaseUrl(@Nullable Output databaseUrl) {
            $.databaseUrl = databaseUrl;
            return this;
        }

        /**
         * @param databaseUrl The JDBC URL of the Amazon Redshift cluster.
         * 
         * @return builder
         * 
         */
        public Builder databaseUrl(String databaseUrl) {
            return databaseUrl(Output.of(databaseUrl));
        }

        /**
         * @param roleArn ARN of the IAM role.
         * 
         * @return builder
         * 
         */
        public Builder roleArn(Output roleArn) {
            $.roleArn = roleArn;
            return this;
        }

        /**
         * @param roleArn ARN of the IAM role.
         * 
         * @return builder
         * 
         */
        public Builder roleArn(String roleArn) {
            return roleArn(Output.of(roleArn));
        }

        public ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesRedshiftArgs build() {
            if ($.bucketName == null) {
                throw new MissingRequiredPropertyException("ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesRedshiftArgs", "bucketName");
            }
            if ($.roleArn == null) {
                throw new MissingRequiredPropertyException("ConnectorProfileConnectorProfileConfigConnectorProfilePropertiesRedshiftArgs", "roleArn");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy