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

com.pulumi.azurenative.compute.GalleryApplicationVersionArgs 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.compute;

import com.pulumi.azurenative.compute.inputs.GalleryApplicationVersionPublishingProfileArgs;
import com.pulumi.azurenative.compute.inputs.GalleryApplicationVersionSafetyProfileArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GalleryApplicationVersionArgs Empty = new GalleryApplicationVersionArgs();

    /**
     * The name of the gallery Application Definition in which the Application Version is to be created.
     * 
     */
    @Import(name="galleryApplicationName", required=true)
    private Output galleryApplicationName;

    /**
     * @return The name of the gallery Application Definition in which the Application Version is to be created.
     * 
     */
    public Output galleryApplicationName() {
        return this.galleryApplicationName;
    }

    /**
     * The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch>
     * 
     */
    @Import(name="galleryApplicationVersionName")
    private @Nullable Output galleryApplicationVersionName;

    /**
     * @return The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch>
     * 
     */
    public Optional> galleryApplicationVersionName() {
        return Optional.ofNullable(this.galleryApplicationVersionName);
    }

    /**
     * The name of the Shared Application Gallery in which the Application Definition resides.
     * 
     */
    @Import(name="galleryName", required=true)
    private Output galleryName;

    /**
     * @return The name of the Shared Application Gallery in which the Application Definition resides.
     * 
     */
    public Output galleryName() {
        return this.galleryName;
    }

    /**
     * Resource location
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Resource location
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The publishing profile of a gallery image version.
     * 
     */
    @Import(name="publishingProfile", required=true)
    private Output publishingProfile;

    /**
     * @return The publishing profile of a gallery image version.
     * 
     */
    public Output publishingProfile() {
        return this.publishingProfile;
    }

    /**
     * The name of the resource group.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The safety profile of the Gallery Application Version.
     * 
     */
    @Import(name="safetyProfile")
    private @Nullable Output safetyProfile;

    /**
     * @return The safety profile of the Gallery Application Version.
     * 
     */
    public Optional> safetyProfile() {
        return Optional.ofNullable(this.safetyProfile);
    }

    /**
     * Resource tags
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Resource tags
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GalleryApplicationVersionArgs() {}

    private GalleryApplicationVersionArgs(GalleryApplicationVersionArgs $) {
        this.galleryApplicationName = $.galleryApplicationName;
        this.galleryApplicationVersionName = $.galleryApplicationVersionName;
        this.galleryName = $.galleryName;
        this.location = $.location;
        this.publishingProfile = $.publishingProfile;
        this.resourceGroupName = $.resourceGroupName;
        this.safetyProfile = $.safetyProfile;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GalleryApplicationVersionArgs $;

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

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

        /**
         * @param galleryApplicationName The name of the gallery Application Definition in which the Application Version is to be created.
         * 
         * @return builder
         * 
         */
        public Builder galleryApplicationName(Output galleryApplicationName) {
            $.galleryApplicationName = galleryApplicationName;
            return this;
        }

        /**
         * @param galleryApplicationName The name of the gallery Application Definition in which the Application Version is to be created.
         * 
         * @return builder
         * 
         */
        public Builder galleryApplicationName(String galleryApplicationName) {
            return galleryApplicationName(Output.of(galleryApplicationName));
        }

        /**
         * @param galleryApplicationVersionName The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch>
         * 
         * @return builder
         * 
         */
        public Builder galleryApplicationVersionName(@Nullable Output galleryApplicationVersionName) {
            $.galleryApplicationVersionName = galleryApplicationVersionName;
            return this;
        }

        /**
         * @param galleryApplicationVersionName The name of the gallery Application Version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch>
         * 
         * @return builder
         * 
         */
        public Builder galleryApplicationVersionName(String galleryApplicationVersionName) {
            return galleryApplicationVersionName(Output.of(galleryApplicationVersionName));
        }

        /**
         * @param galleryName The name of the Shared Application Gallery in which the Application Definition resides.
         * 
         * @return builder
         * 
         */
        public Builder galleryName(Output galleryName) {
            $.galleryName = galleryName;
            return this;
        }

        /**
         * @param galleryName The name of the Shared Application Gallery in which the Application Definition resides.
         * 
         * @return builder
         * 
         */
        public Builder galleryName(String galleryName) {
            return galleryName(Output.of(galleryName));
        }

        /**
         * @param location Resource location
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Resource location
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param publishingProfile The publishing profile of a gallery image version.
         * 
         * @return builder
         * 
         */
        public Builder publishingProfile(Output publishingProfile) {
            $.publishingProfile = publishingProfile;
            return this;
        }

        /**
         * @param publishingProfile The publishing profile of a gallery image version.
         * 
         * @return builder
         * 
         */
        public Builder publishingProfile(GalleryApplicationVersionPublishingProfileArgs publishingProfile) {
            return publishingProfile(Output.of(publishingProfile));
        }

        /**
         * @param resourceGroupName The name of the resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param safetyProfile The safety profile of the Gallery Application Version.
         * 
         * @return builder
         * 
         */
        public Builder safetyProfile(@Nullable Output safetyProfile) {
            $.safetyProfile = safetyProfile;
            return this;
        }

        /**
         * @param safetyProfile The safety profile of the Gallery Application Version.
         * 
         * @return builder
         * 
         */
        public Builder safetyProfile(GalleryApplicationVersionSafetyProfileArgs safetyProfile) {
            return safetyProfile(Output.of(safetyProfile));
        }

        /**
         * @param tags Resource tags
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Resource tags
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public GalleryApplicationVersionArgs build() {
            if ($.galleryApplicationName == null) {
                throw new MissingRequiredPropertyException("GalleryApplicationVersionArgs", "galleryApplicationName");
            }
            if ($.galleryName == null) {
                throw new MissingRequiredPropertyException("GalleryApplicationVersionArgs", "galleryName");
            }
            if ($.publishingProfile == null) {
                throw new MissingRequiredPropertyException("GalleryApplicationVersionArgs", "publishingProfile");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GalleryApplicationVersionArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy