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

com.pulumi.aws.sagemaker.outputs.UserProfileUserSettingsJupyterLabAppSettings 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.UserProfileUserSettingsJupyterLabAppSettingsCodeRepository;
import com.pulumi.aws.sagemaker.outputs.UserProfileUserSettingsJupyterLabAppSettingsCustomImage;
import com.pulumi.aws.sagemaker.outputs.UserProfileUserSettingsJupyterLabAppSettingsDefaultResourceSpec;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class UserProfileUserSettingsJupyterLabAppSettings {
    /**
     * @return A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application. see Code Repository below.
     * 
     */
    private @Nullable List codeRepositories;
    private @Nullable List customImages;
    /**
     * @return The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. see Default Resource Spec below.
     * 
     */
    private @Nullable UserProfileUserSettingsJupyterLabAppSettingsDefaultResourceSpec defaultResourceSpec;
    /**
     * @return The Amazon Resource Name (ARN) of the Lifecycle Configurations.
     * 
     */
    private @Nullable List lifecycleConfigArns;

    private UserProfileUserSettingsJupyterLabAppSettings() {}
    /**
     * @return A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application. see Code Repository below.
     * 
     */
    public List codeRepositories() {
        return this.codeRepositories == null ? List.of() : this.codeRepositories;
    }
    public List customImages() {
        return this.customImages == null ? List.of() : this.customImages;
    }
    /**
     * @return The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. see Default Resource Spec below.
     * 
     */
    public Optional defaultResourceSpec() {
        return Optional.ofNullable(this.defaultResourceSpec);
    }
    /**
     * @return The Amazon Resource Name (ARN) of the Lifecycle Configurations.
     * 
     */
    public List lifecycleConfigArns() {
        return this.lifecycleConfigArns == null ? List.of() : this.lifecycleConfigArns;
    }

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

    public static Builder builder(UserProfileUserSettingsJupyterLabAppSettings defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List codeRepositories;
        private @Nullable List customImages;
        private @Nullable UserProfileUserSettingsJupyterLabAppSettingsDefaultResourceSpec defaultResourceSpec;
        private @Nullable List lifecycleConfigArns;
        public Builder() {}
        public Builder(UserProfileUserSettingsJupyterLabAppSettings defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.codeRepositories = defaults.codeRepositories;
    	      this.customImages = defaults.customImages;
    	      this.defaultResourceSpec = defaults.defaultResourceSpec;
    	      this.lifecycleConfigArns = defaults.lifecycleConfigArns;
        }

        @CustomType.Setter
        public Builder codeRepositories(@Nullable List codeRepositories) {

            this.codeRepositories = codeRepositories;
            return this;
        }
        public Builder codeRepositories(UserProfileUserSettingsJupyterLabAppSettingsCodeRepository... codeRepositories) {
            return codeRepositories(List.of(codeRepositories));
        }
        @CustomType.Setter
        public Builder customImages(@Nullable List customImages) {

            this.customImages = customImages;
            return this;
        }
        public Builder customImages(UserProfileUserSettingsJupyterLabAppSettingsCustomImage... customImages) {
            return customImages(List.of(customImages));
        }
        @CustomType.Setter
        public Builder defaultResourceSpec(@Nullable UserProfileUserSettingsJupyterLabAppSettingsDefaultResourceSpec defaultResourceSpec) {

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

            this.lifecycleConfigArns = lifecycleConfigArns;
            return this;
        }
        public Builder lifecycleConfigArns(String... lifecycleConfigArns) {
            return lifecycleConfigArns(List.of(lifecycleConfigArns));
        }
        public UserProfileUserSettingsJupyterLabAppSettings build() {
            final var _resultValue = new UserProfileUserSettingsJupyterLabAppSettings();
            _resultValue.codeRepositories = codeRepositories;
            _resultValue.customImages = customImages;
            _resultValue.defaultResourceSpec = defaultResourceSpec;
            _resultValue.lifecycleConfigArns = lifecycleConfigArns;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy