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

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

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final ImageVersionArgs Empty = new ImageVersionArgs();

    /**
     * The registry path of the container image on which this image version is based.
     * 
     */
    @Import(name="baseImage", required=true)
    private Output baseImage;

    /**
     * @return The registry path of the container image on which this image version is based.
     * 
     */
    public Output baseImage() {
        return this.baseImage;
    }

    /**
     * The name of the image. Must be unique to your account.
     * 
     */
    @Import(name="imageName", required=true)
    private Output imageName;

    /**
     * @return The name of the image. Must be unique to your account.
     * 
     */
    public Output imageName() {
        return this.imageName;
    }

    private ImageVersionArgs() {}

    private ImageVersionArgs(ImageVersionArgs $) {
        this.baseImage = $.baseImage;
        this.imageName = $.imageName;
    }

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

    public static final class Builder {
        private ImageVersionArgs $;

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

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

        /**
         * @param baseImage The registry path of the container image on which this image version is based.
         * 
         * @return builder
         * 
         */
        public Builder baseImage(Output baseImage) {
            $.baseImage = baseImage;
            return this;
        }

        /**
         * @param baseImage The registry path of the container image on which this image version is based.
         * 
         * @return builder
         * 
         */
        public Builder baseImage(String baseImage) {
            return baseImage(Output.of(baseImage));
        }

        /**
         * @param imageName The name of the image. Must be unique to your account.
         * 
         * @return builder
         * 
         */
        public Builder imageName(Output imageName) {
            $.imageName = imageName;
            return this;
        }

        /**
         * @param imageName The name of the image. Must be unique to your account.
         * 
         * @return builder
         * 
         */
        public Builder imageName(String imageName) {
            return imageName(Output.of(imageName));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy