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

com.pulumi.aws.sagemaker.outputs.DomainDefaultUserSettingsCanvasAppSettings 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.sagemaker.outputs;

import com.pulumi.aws.sagemaker.outputs.DomainDefaultUserSettingsCanvasAppSettingsDirectDeploySettings;
import com.pulumi.aws.sagemaker.outputs.DomainDefaultUserSettingsCanvasAppSettingsGenerativeAiSettings;
import com.pulumi.aws.sagemaker.outputs.DomainDefaultUserSettingsCanvasAppSettingsIdentityProviderOauthSetting;
import com.pulumi.aws.sagemaker.outputs.DomainDefaultUserSettingsCanvasAppSettingsKendraSettings;
import com.pulumi.aws.sagemaker.outputs.DomainDefaultUserSettingsCanvasAppSettingsModelRegisterSettings;
import com.pulumi.aws.sagemaker.outputs.DomainDefaultUserSettingsCanvasAppSettingsTimeSeriesForecastingSettings;
import com.pulumi.aws.sagemaker.outputs.DomainDefaultUserSettingsCanvasAppSettingsWorkspaceSettings;
import com.pulumi.core.annotations.CustomType;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class DomainDefaultUserSettingsCanvasAppSettings {
    /**
     * @return The model deployment settings for the SageMaker Canvas application. See `direct_deploy_settings` Block below.
     * 
     */
    private @Nullable DomainDefaultUserSettingsCanvasAppSettingsDirectDeploySettings directDeploySettings;
    private @Nullable DomainDefaultUserSettingsCanvasAppSettingsGenerativeAiSettings generativeAiSettings;
    /**
     * @return The settings for connecting to an external data source with OAuth. See `identity_provider_oauth_settings` Block below.
     * 
     */
    private @Nullable List identityProviderOauthSettings;
    /**
     * @return The settings for document querying. See `kendra_settings` Block below.
     * 
     */
    private @Nullable DomainDefaultUserSettingsCanvasAppSettingsKendraSettings kendraSettings;
    /**
     * @return The model registry settings for the SageMaker Canvas application. See `model_register_settings` Block below.
     * 
     */
    private @Nullable DomainDefaultUserSettingsCanvasAppSettingsModelRegisterSettings modelRegisterSettings;
    /**
     * @return Time series forecast settings for the Canvas app. See `time_series_forecasting_settings` Block below.
     * 
     */
    private @Nullable DomainDefaultUserSettingsCanvasAppSettingsTimeSeriesForecastingSettings timeSeriesForecastingSettings;
    /**
     * @return The workspace settings for the SageMaker Canvas application. See `workspace_settings` Block below.
     * 
     */
    private @Nullable DomainDefaultUserSettingsCanvasAppSettingsWorkspaceSettings workspaceSettings;

    private DomainDefaultUserSettingsCanvasAppSettings() {}
    /**
     * @return The model deployment settings for the SageMaker Canvas application. See `direct_deploy_settings` Block below.
     * 
     */
    public Optional directDeploySettings() {
        return Optional.ofNullable(this.directDeploySettings);
    }
    public Optional generativeAiSettings() {
        return Optional.ofNullable(this.generativeAiSettings);
    }
    /**
     * @return The settings for connecting to an external data source with OAuth. See `identity_provider_oauth_settings` Block below.
     * 
     */
    public List identityProviderOauthSettings() {
        return this.identityProviderOauthSettings == null ? List.of() : this.identityProviderOauthSettings;
    }
    /**
     * @return The settings for document querying. See `kendra_settings` Block below.
     * 
     */
    public Optional kendraSettings() {
        return Optional.ofNullable(this.kendraSettings);
    }
    /**
     * @return The model registry settings for the SageMaker Canvas application. See `model_register_settings` Block below.
     * 
     */
    public Optional modelRegisterSettings() {
        return Optional.ofNullable(this.modelRegisterSettings);
    }
    /**
     * @return Time series forecast settings for the Canvas app. See `time_series_forecasting_settings` Block below.
     * 
     */
    public Optional timeSeriesForecastingSettings() {
        return Optional.ofNullable(this.timeSeriesForecastingSettings);
    }
    /**
     * @return The workspace settings for the SageMaker Canvas application. See `workspace_settings` Block below.
     * 
     */
    public Optional workspaceSettings() {
        return Optional.ofNullable(this.workspaceSettings);
    }

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

    public static Builder builder(DomainDefaultUserSettingsCanvasAppSettings defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable DomainDefaultUserSettingsCanvasAppSettingsDirectDeploySettings directDeploySettings;
        private @Nullable DomainDefaultUserSettingsCanvasAppSettingsGenerativeAiSettings generativeAiSettings;
        private @Nullable List identityProviderOauthSettings;
        private @Nullable DomainDefaultUserSettingsCanvasAppSettingsKendraSettings kendraSettings;
        private @Nullable DomainDefaultUserSettingsCanvasAppSettingsModelRegisterSettings modelRegisterSettings;
        private @Nullable DomainDefaultUserSettingsCanvasAppSettingsTimeSeriesForecastingSettings timeSeriesForecastingSettings;
        private @Nullable DomainDefaultUserSettingsCanvasAppSettingsWorkspaceSettings workspaceSettings;
        public Builder() {}
        public Builder(DomainDefaultUserSettingsCanvasAppSettings defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.directDeploySettings = defaults.directDeploySettings;
    	      this.generativeAiSettings = defaults.generativeAiSettings;
    	      this.identityProviderOauthSettings = defaults.identityProviderOauthSettings;
    	      this.kendraSettings = defaults.kendraSettings;
    	      this.modelRegisterSettings = defaults.modelRegisterSettings;
    	      this.timeSeriesForecastingSettings = defaults.timeSeriesForecastingSettings;
    	      this.workspaceSettings = defaults.workspaceSettings;
        }

        @CustomType.Setter
        public Builder directDeploySettings(@Nullable DomainDefaultUserSettingsCanvasAppSettingsDirectDeploySettings directDeploySettings) {

            this.directDeploySettings = directDeploySettings;
            return this;
        }
        @CustomType.Setter
        public Builder generativeAiSettings(@Nullable DomainDefaultUserSettingsCanvasAppSettingsGenerativeAiSettings generativeAiSettings) {

            this.generativeAiSettings = generativeAiSettings;
            return this;
        }
        @CustomType.Setter
        public Builder identityProviderOauthSettings(@Nullable List identityProviderOauthSettings) {

            this.identityProviderOauthSettings = identityProviderOauthSettings;
            return this;
        }
        public Builder identityProviderOauthSettings(DomainDefaultUserSettingsCanvasAppSettingsIdentityProviderOauthSetting... identityProviderOauthSettings) {
            return identityProviderOauthSettings(List.of(identityProviderOauthSettings));
        }
        @CustomType.Setter
        public Builder kendraSettings(@Nullable DomainDefaultUserSettingsCanvasAppSettingsKendraSettings kendraSettings) {

            this.kendraSettings = kendraSettings;
            return this;
        }
        @CustomType.Setter
        public Builder modelRegisterSettings(@Nullable DomainDefaultUserSettingsCanvasAppSettingsModelRegisterSettings modelRegisterSettings) {

            this.modelRegisterSettings = modelRegisterSettings;
            return this;
        }
        @CustomType.Setter
        public Builder timeSeriesForecastingSettings(@Nullable DomainDefaultUserSettingsCanvasAppSettingsTimeSeriesForecastingSettings timeSeriesForecastingSettings) {

            this.timeSeriesForecastingSettings = timeSeriesForecastingSettings;
            return this;
        }
        @CustomType.Setter
        public Builder workspaceSettings(@Nullable DomainDefaultUserSettingsCanvasAppSettingsWorkspaceSettings workspaceSettings) {

            this.workspaceSettings = workspaceSettings;
            return this;
        }
        public DomainDefaultUserSettingsCanvasAppSettings build() {
            final var _resultValue = new DomainDefaultUserSettingsCanvasAppSettings();
            _resultValue.directDeploySettings = directDeploySettings;
            _resultValue.generativeAiSettings = generativeAiSettings;
            _resultValue.identityProviderOauthSettings = identityProviderOauthSettings;
            _resultValue.kendraSettings = kendraSettings;
            _resultValue.modelRegisterSettings = modelRegisterSettings;
            _resultValue.timeSeriesForecastingSettings = timeSeriesForecastingSettings;
            _resultValue.workspaceSettings = workspaceSettings;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy