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

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

import com.pulumi.aws.sagemaker.outputs.UserProfileUserSettingsRSessionAppSettingsCustomImage;
import com.pulumi.aws.sagemaker.outputs.UserProfileUserSettingsRSessionAppSettingsDefaultResourceSpec;
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 UserProfileUserSettingsRSessionAppSettings {
    /**
     * @return A list of custom SageMaker images that are configured to run as a KernelGateway app. see Custom Image below.
     * 
     */
    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 UserProfileUserSettingsRSessionAppSettingsDefaultResourceSpec defaultResourceSpec;

    private UserProfileUserSettingsRSessionAppSettings() {}
    /**
     * @return A list of custom SageMaker images that are configured to run as a KernelGateway app. see Custom Image below.
     * 
     */
    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);
    }

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

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

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

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

            this.defaultResourceSpec = defaultResourceSpec;
            return this;
        }
        public UserProfileUserSettingsRSessionAppSettings build() {
            final var _resultValue = new UserProfileUserSettingsRSessionAppSettings();
            _resultValue.customImages = customImages;
            _resultValue.defaultResourceSpec = defaultResourceSpec;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy