// *** 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.DomainDefaultUserSettingsKernelGatewayAppSettingsCustomImageArgs;
import com.pulumi.aws.sagemaker.inputs.DomainDefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final DomainDefaultUserSettingsKernelGatewayAppSettingsArgs Empty = new DomainDefaultUserSettingsKernelGatewayAppSettingsArgs();

    /**
     * A list of custom SageMaker images that are configured to run as a KernelGateway app. see Custom Image below.
     * 
     */
    @Import(name="customImages")
    private @Nullable Output<List<DomainDefaultUserSettingsKernelGatewayAppSettingsCustomImageArgs>> customImages;

    /**
     * @return A list of custom SageMaker images that are configured to run as a KernelGateway app. see Custom Image below.
     * 
     */
    public Optional<Output<List<DomainDefaultUserSettingsKernelGatewayAppSettingsCustomImageArgs>>> customImages() {
        return Optional.ofNullable(this.customImages);
    }

    /**
     * The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. see Default Resource Spec below.
     * 
     */
    @Import(name="defaultResourceSpec")
    private @Nullable Output<DomainDefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecArgs> defaultResourceSpec;

    /**
     * @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<Output<DomainDefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecArgs>> defaultResourceSpec() {
        return Optional.ofNullable(this.defaultResourceSpec);
    }

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

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

    private DomainDefaultUserSettingsKernelGatewayAppSettingsArgs() {}

    private DomainDefaultUserSettingsKernelGatewayAppSettingsArgs(DomainDefaultUserSettingsKernelGatewayAppSettingsArgs $) {
        this.customImages = $.customImages;
        this.defaultResourceSpec = $.defaultResourceSpec;
        this.lifecycleConfigArns = $.lifecycleConfigArns;
    }

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

    public static final class Builder {
        private DomainDefaultUserSettingsKernelGatewayAppSettingsArgs $;

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

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

        /**
         * @param customImages A list of custom SageMaker images that are configured to run as a KernelGateway app. see Custom Image below.
         * 
         * @return builder
         * 
         */
        public Builder customImages(@Nullable Output<List<DomainDefaultUserSettingsKernelGatewayAppSettingsCustomImageArgs>> customImages) {
            $.customImages = customImages;
            return this;
        }

        /**
         * @param customImages A list of custom SageMaker images that are configured to run as a KernelGateway app. see Custom Image below.
         * 
         * @return builder
         * 
         */
        public Builder customImages(List<DomainDefaultUserSettingsKernelGatewayAppSettingsCustomImageArgs> customImages) {
            return customImages(Output.of(customImages));
        }

        /**
         * @param customImages A list of custom SageMaker images that are configured to run as a KernelGateway app. see Custom Image below.
         * 
         * @return builder
         * 
         */
        public Builder customImages(DomainDefaultUserSettingsKernelGatewayAppSettingsCustomImageArgs... customImages) {
            return customImages(List.of(customImages));
        }

        /**
         * @param defaultResourceSpec The default instance type and the Amazon Resource Name (ARN) of the SageMaker image created on the instance. see Default Resource Spec below.
         * 
         * @return builder
         * 
         */
        public Builder defaultResourceSpec(@Nullable Output<DomainDefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecArgs> 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 below.
         * 
         * @return builder
         * 
         */
        public Builder defaultResourceSpec(DomainDefaultUserSettingsKernelGatewayAppSettingsDefaultResourceSpecArgs defaultResourceSpec) {
            return defaultResourceSpec(Output.of(defaultResourceSpec));
        }

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

        /**
         * @param lifecycleConfigArns The Amazon Resource Name (ARN) of the Lifecycle Configurations.
         * 
         * @return builder
         * 
         */
        public Builder lifecycleConfigArns(List<String> 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 DomainDefaultUserSettingsKernelGatewayAppSettingsArgs build() {
            return $;
        }
    }

}
