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

com.pulumi.aws.sagemaker.inputs.UserProfileUserSettingsCanvasAppSettingsIdentityProviderOauthSettingArgs 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.sagemaker.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 UserProfileUserSettingsCanvasAppSettingsIdentityProviderOauthSettingArgs extends com.pulumi.resources.ResourceArgs {

    public static final UserProfileUserSettingsCanvasAppSettingsIdentityProviderOauthSettingArgs Empty = new UserProfileUserSettingsCanvasAppSettingsIdentityProviderOauthSettingArgs();

    /**
     * The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and Salesforce Data Cloud. Valid values are `SalesforceGenie` and `Snowflake`.
     * 
     */
    @Import(name="dataSourceName")
    private @Nullable Output dataSourceName;

    /**
     * @return The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and Salesforce Data Cloud. Valid values are `SalesforceGenie` and `Snowflake`.
     * 
     */
    public Optional> dataSourceName() {
        return Optional.ofNullable(this.dataSourceName);
    }

    /**
     * The ARN of an Amazon Web Services Secrets Manager secret that stores the credentials from your identity provider, such as the client ID and secret, authorization URL, and token URL.
     * 
     */
    @Import(name="secretArn", required=true)
    private Output secretArn;

    /**
     * @return The ARN of an Amazon Web Services Secrets Manager secret that stores the credentials from your identity provider, such as the client ID and secret, authorization URL, and token URL.
     * 
     */
    public Output secretArn() {
        return this.secretArn;
    }

    /**
     * Describes whether OAuth for a data source is enabled or disabled in the Canvas application. Valid values are `ENABLED` and `DISABLED`.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return Describes whether OAuth for a data source is enabled or disabled in the Canvas application. Valid values are `ENABLED` and `DISABLED`.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    private UserProfileUserSettingsCanvasAppSettingsIdentityProviderOauthSettingArgs() {}

    private UserProfileUserSettingsCanvasAppSettingsIdentityProviderOauthSettingArgs(UserProfileUserSettingsCanvasAppSettingsIdentityProviderOauthSettingArgs $) {
        this.dataSourceName = $.dataSourceName;
        this.secretArn = $.secretArn;
        this.status = $.status;
    }

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

    public static final class Builder {
        private UserProfileUserSettingsCanvasAppSettingsIdentityProviderOauthSettingArgs $;

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

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

        /**
         * @param dataSourceName The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and Salesforce Data Cloud. Valid values are `SalesforceGenie` and `Snowflake`.
         * 
         * @return builder
         * 
         */
        public Builder dataSourceName(@Nullable Output dataSourceName) {
            $.dataSourceName = dataSourceName;
            return this;
        }

        /**
         * @param dataSourceName The name of the data source that you're connecting to. Canvas currently supports OAuth for Snowflake and Salesforce Data Cloud. Valid values are `SalesforceGenie` and `Snowflake`.
         * 
         * @return builder
         * 
         */
        public Builder dataSourceName(String dataSourceName) {
            return dataSourceName(Output.of(dataSourceName));
        }

        /**
         * @param secretArn The ARN of an Amazon Web Services Secrets Manager secret that stores the credentials from your identity provider, such as the client ID and secret, authorization URL, and token URL.
         * 
         * @return builder
         * 
         */
        public Builder secretArn(Output secretArn) {
            $.secretArn = secretArn;
            return this;
        }

        /**
         * @param secretArn The ARN of an Amazon Web Services Secrets Manager secret that stores the credentials from your identity provider, such as the client ID and secret, authorization URL, and token URL.
         * 
         * @return builder
         * 
         */
        public Builder secretArn(String secretArn) {
            return secretArn(Output.of(secretArn));
        }

        /**
         * @param status Describes whether OAuth for a data source is enabled or disabled in the Canvas application. Valid values are `ENABLED` and `DISABLED`.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status Describes whether OAuth for a data source is enabled or disabled in the Canvas application. Valid values are `ENABLED` and `DISABLED`.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        public UserProfileUserSettingsCanvasAppSettingsIdentityProviderOauthSettingArgs build() {
            if ($.secretArn == null) {
                throw new MissingRequiredPropertyException("UserProfileUserSettingsCanvasAppSettingsIdentityProviderOauthSettingArgs", "secretArn");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy