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

com.pulumi.azurenative.labservices.inputs.ImageReferenceArgs Maven / Gradle / Ivy

There is a newer version: 2.82.0
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.azurenative.labservices.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Image reference information. Used in the virtual machine profile.
 * 
 */
public final class ImageReferenceArgs extends com.pulumi.resources.ResourceArgs {

    public static final ImageReferenceArgs Empty = new ImageReferenceArgs();

    /**
     * Image resource ID
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return Image resource ID
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * The image offer if applicable.
     * 
     */
    @Import(name="offer")
    private @Nullable Output offer;

    /**
     * @return The image offer if applicable.
     * 
     */
    public Optional> offer() {
        return Optional.ofNullable(this.offer);
    }

    /**
     * The image publisher
     * 
     */
    @Import(name="publisher")
    private @Nullable Output publisher;

    /**
     * @return The image publisher
     * 
     */
    public Optional> publisher() {
        return Optional.ofNullable(this.publisher);
    }

    /**
     * The image SKU
     * 
     */
    @Import(name="sku")
    private @Nullable Output sku;

    /**
     * @return The image SKU
     * 
     */
    public Optional> sku() {
        return Optional.ofNullable(this.sku);
    }

    /**
     * The image version specified on creation.
     * 
     */
    @Import(name="version")
    private @Nullable Output version;

    /**
     * @return The image version specified on creation.
     * 
     */
    public Optional> version() {
        return Optional.ofNullable(this.version);
    }

    private ImageReferenceArgs() {}

    private ImageReferenceArgs(ImageReferenceArgs $) {
        this.id = $.id;
        this.offer = $.offer;
        this.publisher = $.publisher;
        this.sku = $.sku;
        this.version = $.version;
    }

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

    public static final class Builder {
        private ImageReferenceArgs $;

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

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

        /**
         * @param id Image resource ID
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id Image resource ID
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        /**
         * @param offer The image offer if applicable.
         * 
         * @return builder
         * 
         */
        public Builder offer(@Nullable Output offer) {
            $.offer = offer;
            return this;
        }

        /**
         * @param offer The image offer if applicable.
         * 
         * @return builder
         * 
         */
        public Builder offer(String offer) {
            return offer(Output.of(offer));
        }

        /**
         * @param publisher The image publisher
         * 
         * @return builder
         * 
         */
        public Builder publisher(@Nullable Output publisher) {
            $.publisher = publisher;
            return this;
        }

        /**
         * @param publisher The image publisher
         * 
         * @return builder
         * 
         */
        public Builder publisher(String publisher) {
            return publisher(Output.of(publisher));
        }

        /**
         * @param sku The image SKU
         * 
         * @return builder
         * 
         */
        public Builder sku(@Nullable Output sku) {
            $.sku = sku;
            return this;
        }

        /**
         * @param sku The image SKU
         * 
         * @return builder
         * 
         */
        public Builder sku(String sku) {
            return sku(Output.of(sku));
        }

        /**
         * @param version The image version specified on creation.
         * 
         * @return builder
         * 
         */
        public Builder version(@Nullable Output version) {
            $.version = version;
            return this;
        }

        /**
         * @param version The image version specified on creation.
         * 
         * @return builder
         * 
         */
        public Builder version(String version) {
            return version(Output.of(version));
        }

        public ImageReferenceArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy