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

com.pulumi.aws.sagemaker.inputs.SpaceSpaceSettingsJupyterServerAppSettingsArgs Maven / Gradle / Ivy

Go to download

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

There is a newer version: 6.66.3
Show 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.aws.sagemaker.inputs.SpaceSpaceSettingsJupyterServerAppSettingsCodeRepositoryArgs;
import com.pulumi.aws.sagemaker.inputs.SpaceSpaceSettingsJupyterServerAppSettingsDefaultResourceSpecArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final SpaceSpaceSettingsJupyterServerAppSettingsArgs Empty = new SpaceSpaceSettingsJupyterServerAppSettingsArgs();

    /**
     * A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application. See `code_repository` Block below.
     * 
     */
    @Import(name="codeRepositories")
    private @Nullable Output> codeRepositories;

    /**
     * @return A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application. See `code_repository` Block below.
     * 
     */
    public Optional>> codeRepositories() {
        return Optional.ofNullable(this.codeRepositories);
    }

    /**
     * The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. See `default_resource_spec` Block below.
     * 
     */
    @Import(name="defaultResourceSpec", required=true)
    private Output defaultResourceSpec;

    /**
     * @return The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. See `default_resource_spec` Block below.
     * 
     */
    public Output defaultResourceSpec() {
        return this.defaultResourceSpec;
    }

    /**
     * The Amazon Resource Name (ARN) of the Lifecycle Configurations.
     * 
     */
    @Import(name="lifecycleConfigArns")
    private @Nullable Output> lifecycleConfigArns;

    /**
     * @return The Amazon Resource Name (ARN) of the Lifecycle Configurations.
     * 
     */
    public Optional>> lifecycleConfigArns() {
        return Optional.ofNullable(this.lifecycleConfigArns);
    }

    private SpaceSpaceSettingsJupyterServerAppSettingsArgs() {}

    private SpaceSpaceSettingsJupyterServerAppSettingsArgs(SpaceSpaceSettingsJupyterServerAppSettingsArgs $) {
        this.codeRepositories = $.codeRepositories;
        this.defaultResourceSpec = $.defaultResourceSpec;
        this.lifecycleConfigArns = $.lifecycleConfigArns;
    }

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

    public static final class Builder {
        private SpaceSpaceSettingsJupyterServerAppSettingsArgs $;

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

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

        /**
         * @param codeRepositories A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application. See `code_repository` Block below.
         * 
         * @return builder
         * 
         */
        public Builder codeRepositories(@Nullable Output> codeRepositories) {
            $.codeRepositories = codeRepositories;
            return this;
        }

        /**
         * @param codeRepositories A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application. See `code_repository` Block below.
         * 
         * @return builder
         * 
         */
        public Builder codeRepositories(List codeRepositories) {
            return codeRepositories(Output.of(codeRepositories));
        }

        /**
         * @param codeRepositories A list of Git repositories that SageMaker automatically displays to users for cloning in the JupyterServer application. See `code_repository` Block below.
         * 
         * @return builder
         * 
         */
        public Builder codeRepositories(SpaceSpaceSettingsJupyterServerAppSettingsCodeRepositoryArgs... codeRepositories) {
            return codeRepositories(List.of(codeRepositories));
        }

        /**
         * @param defaultResourceSpec The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. See `default_resource_spec` Block below.
         * 
         * @return builder
         * 
         */
        public Builder defaultResourceSpec(Output defaultResourceSpec) {
            $.defaultResourceSpec = defaultResourceSpec;
            return this;
        }

        /**
         * @param defaultResourceSpec The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. See `default_resource_spec` Block below.
         * 
         * @return builder
         * 
         */
        public Builder defaultResourceSpec(SpaceSpaceSettingsJupyterServerAppSettingsDefaultResourceSpecArgs defaultResourceSpec) {
            return defaultResourceSpec(Output.of(defaultResourceSpec));
        }

        /**
         * @param lifecycleConfigArns The Amazon Resource Name (ARN) of the Lifecycle Configurations.
         * 
         * @return builder
         * 
         */
        public Builder lifecycleConfigArns(@Nullable Output> lifecycleConfigArns) {
            $.lifecycleConfigArns = lifecycleConfigArns;
            return this;
        }

        /**
         * @param lifecycleConfigArns The Amazon Resource Name (ARN) of the Lifecycle Configurations.
         * 
         * @return builder
         * 
         */
        public Builder lifecycleConfigArns(List lifecycleConfigArns) {
            return lifecycleConfigArns(Output.of(lifecycleConfigArns));
        }

        /**
         * @param lifecycleConfigArns The Amazon Resource Name (ARN) of the Lifecycle Configurations.
         * 
         * @return builder
         * 
         */
        public Builder lifecycleConfigArns(String... lifecycleConfigArns) {
            return lifecycleConfigArns(List.of(lifecycleConfigArns));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy