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

com.pulumi.aws.quicksight.inputs.DataSourceCredentialsArgs Maven / Gradle / Ivy

Go to download

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

The 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.quicksight.inputs;

import com.pulumi.aws.quicksight.inputs.DataSourceCredentialsCredentialPairArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final DataSourceCredentialsArgs Empty = new DataSourceCredentialsArgs();

    /**
     * The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use.
     * When the value is not null, the `credential_pair` from the data source in the ARN is used.
     * 
     */
    @Import(name="copySourceArn")
    private @Nullable Output copySourceArn;

    /**
     * @return The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use.
     * When the value is not null, the `credential_pair` from the data source in the ARN is used.
     * 
     */
    public Optional> copySourceArn() {
        return Optional.ofNullable(this.copySourceArn);
    }

    /**
     * Credential pair. See Credential Pair below for more details.
     * 
     */
    @Import(name="credentialPair")
    private @Nullable Output credentialPair;

    /**
     * @return Credential pair. See Credential Pair below for more details.
     * 
     */
    public Optional> credentialPair() {
        return Optional.ofNullable(this.credentialPair);
    }

    /**
     * The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
     * 
     */
    @Import(name="secretArn")
    private @Nullable Output secretArn;

    /**
     * @return The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
     * 
     */
    public Optional> secretArn() {
        return Optional.ofNullable(this.secretArn);
    }

    private DataSourceCredentialsArgs() {}

    private DataSourceCredentialsArgs(DataSourceCredentialsArgs $) {
        this.copySourceArn = $.copySourceArn;
        this.credentialPair = $.credentialPair;
        this.secretArn = $.secretArn;
    }

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

    public static final class Builder {
        private DataSourceCredentialsArgs $;

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

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

        /**
         * @param copySourceArn The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use.
         * When the value is not null, the `credential_pair` from the data source in the ARN is used.
         * 
         * @return builder
         * 
         */
        public Builder copySourceArn(@Nullable Output copySourceArn) {
            $.copySourceArn = copySourceArn;
            return this;
        }

        /**
         * @param copySourceArn The Amazon Resource Name (ARN) of a data source that has the credential pair that you want to use.
         * When the value is not null, the `credential_pair` from the data source in the ARN is used.
         * 
         * @return builder
         * 
         */
        public Builder copySourceArn(String copySourceArn) {
            return copySourceArn(Output.of(copySourceArn));
        }

        /**
         * @param credentialPair Credential pair. See Credential Pair below for more details.
         * 
         * @return builder
         * 
         */
        public Builder credentialPair(@Nullable Output credentialPair) {
            $.credentialPair = credentialPair;
            return this;
        }

        /**
         * @param credentialPair Credential pair. See Credential Pair below for more details.
         * 
         * @return builder
         * 
         */
        public Builder credentialPair(DataSourceCredentialsCredentialPairArgs credentialPair) {
            return credentialPair(Output.of(credentialPair));
        }

        /**
         * @param secretArn The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
         * 
         * @return builder
         * 
         */
        public Builder secretArn(@Nullable Output secretArn) {
            $.secretArn = secretArn;
            return this;
        }

        /**
         * @param secretArn The Amazon Resource Name (ARN) of the secret associated with the data source in Amazon Secrets Manager.
         * 
         * @return builder
         * 
         */
        public Builder secretArn(String secretArn) {
            return secretArn(Output.of(secretArn));
        }

        public DataSourceCredentialsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy