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

com.pulumi.aws.sagemaker.outputs.DomainDefaultUserSettingsCodeEditorAppSettingsCustomImage Maven / Gradle / Ivy

Go to download

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

The 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.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class DomainDefaultUserSettingsCodeEditorAppSettingsCustomImage {
    /**
     * @return The name of the App Image Config.
     * 
     */
    private String appImageConfigName;
    /**
     * @return The name of the Custom Image.
     * 
     */
    private String imageName;
    /**
     * @return The version number of the Custom Image.
     * 
     */
    private @Nullable Integer imageVersionNumber;

    private DomainDefaultUserSettingsCodeEditorAppSettingsCustomImage() {}
    /**
     * @return The name of the App Image Config.
     * 
     */
    public String appImageConfigName() {
        return this.appImageConfigName;
    }
    /**
     * @return The name of the Custom Image.
     * 
     */
    public String imageName() {
        return this.imageName;
    }
    /**
     * @return The version number of the Custom Image.
     * 
     */
    public Optional imageVersionNumber() {
        return Optional.ofNullable(this.imageVersionNumber);
    }

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

    public static Builder builder(DomainDefaultUserSettingsCodeEditorAppSettingsCustomImage defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String appImageConfigName;
        private String imageName;
        private @Nullable Integer imageVersionNumber;
        public Builder() {}
        public Builder(DomainDefaultUserSettingsCodeEditorAppSettingsCustomImage defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.appImageConfigName = defaults.appImageConfigName;
    	      this.imageName = defaults.imageName;
    	      this.imageVersionNumber = defaults.imageVersionNumber;
        }

        @CustomType.Setter
        public Builder appImageConfigName(String appImageConfigName) {
            if (appImageConfigName == null) {
              throw new MissingRequiredPropertyException("DomainDefaultUserSettingsCodeEditorAppSettingsCustomImage", "appImageConfigName");
            }
            this.appImageConfigName = appImageConfigName;
            return this;
        }
        @CustomType.Setter
        public Builder imageName(String imageName) {
            if (imageName == null) {
              throw new MissingRequiredPropertyException("DomainDefaultUserSettingsCodeEditorAppSettingsCustomImage", "imageName");
            }
            this.imageName = imageName;
            return this;
        }
        @CustomType.Setter
        public Builder imageVersionNumber(@Nullable Integer imageVersionNumber) {

            this.imageVersionNumber = imageVersionNumber;
            return this;
        }
        public DomainDefaultUserSettingsCodeEditorAppSettingsCustomImage build() {
            final var _resultValue = new DomainDefaultUserSettingsCodeEditorAppSettingsCustomImage();
            _resultValue.appImageConfigName = appImageConfigName;
            _resultValue.imageName = imageName;
            _resultValue.imageVersionNumber = imageVersionNumber;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy