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

com.pulumi.aws.sagemaker.inputs.UserProfileUserSettingsKernelGatewayAppSettingsCustomImageArgs 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.60.0-alpha.1731982519
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.core.Output;
import com.pulumi.core.annotations.Import;
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;


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

    public static final UserProfileUserSettingsKernelGatewayAppSettingsCustomImageArgs Empty = new UserProfileUserSettingsKernelGatewayAppSettingsCustomImageArgs();

    /**
     * The name of the App Image Config.
     * 
     */
    @Import(name="appImageConfigName", required=true)
    private Output appImageConfigName;

    /**
     * @return The name of the App Image Config.
     * 
     */
    public Output appImageConfigName() {
        return this.appImageConfigName;
    }

    /**
     * The name of the Custom Image.
     * 
     */
    @Import(name="imageName", required=true)
    private Output imageName;

    /**
     * @return The name of the Custom Image.
     * 
     */
    public Output imageName() {
        return this.imageName;
    }

    /**
     * The version number of the Custom Image.
     * 
     */
    @Import(name="imageVersionNumber")
    private @Nullable Output imageVersionNumber;

    /**
     * @return The version number of the Custom Image.
     * 
     */
    public Optional> imageVersionNumber() {
        return Optional.ofNullable(this.imageVersionNumber);
    }

    private UserProfileUserSettingsKernelGatewayAppSettingsCustomImageArgs() {}

    private UserProfileUserSettingsKernelGatewayAppSettingsCustomImageArgs(UserProfileUserSettingsKernelGatewayAppSettingsCustomImageArgs $) {
        this.appImageConfigName = $.appImageConfigName;
        this.imageName = $.imageName;
        this.imageVersionNumber = $.imageVersionNumber;
    }

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

    public static final class Builder {
        private UserProfileUserSettingsKernelGatewayAppSettingsCustomImageArgs $;

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

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

        /**
         * @param appImageConfigName The name of the App Image Config.
         * 
         * @return builder
         * 
         */
        public Builder appImageConfigName(Output appImageConfigName) {
            $.appImageConfigName = appImageConfigName;
            return this;
        }

        /**
         * @param appImageConfigName The name of the App Image Config.
         * 
         * @return builder
         * 
         */
        public Builder appImageConfigName(String appImageConfigName) {
            return appImageConfigName(Output.of(appImageConfigName));
        }

        /**
         * @param imageName The name of the Custom Image.
         * 
         * @return builder
         * 
         */
        public Builder imageName(Output imageName) {
            $.imageName = imageName;
            return this;
        }

        /**
         * @param imageName The name of the Custom Image.
         * 
         * @return builder
         * 
         */
        public Builder imageName(String imageName) {
            return imageName(Output.of(imageName));
        }

        /**
         * @param imageVersionNumber The version number of the Custom Image.
         * 
         * @return builder
         * 
         */
        public Builder imageVersionNumber(@Nullable Output imageVersionNumber) {
            $.imageVersionNumber = imageVersionNumber;
            return this;
        }

        /**
         * @param imageVersionNumber The version number of the Custom Image.
         * 
         * @return builder
         * 
         */
        public Builder imageVersionNumber(Integer imageVersionNumber) {
            return imageVersionNumber(Output.of(imageVersionNumber));
        }

        public UserProfileUserSettingsKernelGatewayAppSettingsCustomImageArgs build() {
            if ($.appImageConfigName == null) {
                throw new MissingRequiredPropertyException("UserProfileUserSettingsKernelGatewayAppSettingsCustomImageArgs", "appImageConfigName");
            }
            if ($.imageName == null) {
                throw new MissingRequiredPropertyException("UserProfileUserSettingsKernelGatewayAppSettingsCustomImageArgs", "imageName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy