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

com.pulumi.azurenative.compute.inputs.GetGalleryApplicationVersionPlainArgs Maven / Gradle / Ivy

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

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


public final class GetGalleryApplicationVersionPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetGalleryApplicationVersionPlainArgs Empty = new GetGalleryApplicationVersionPlainArgs();

    /**
     * The expand expression to apply on the operation.
     * 
     */
    @Import(name="expand")
    private @Nullable String expand;

    /**
     * @return The expand expression to apply on the operation.
     * 
     */
    public Optional expand() {
        return Optional.ofNullable(this.expand);
    }

    /**
     * The name of the gallery Application Definition in which the Application Version resides.
     * 
     */
    @Import(name="galleryApplicationName", required=true)
    private String galleryApplicationName;

    /**
     * @return The name of the gallery Application Definition in which the Application Version resides.
     * 
     */
    public String galleryApplicationName() {
        return this.galleryApplicationName;
    }

    /**
     * The name of the gallery Application Version to be retrieved.
     * 
     */
    @Import(name="galleryApplicationVersionName", required=true)
    private String galleryApplicationVersionName;

    /**
     * @return The name of the gallery Application Version to be retrieved.
     * 
     */
    public String galleryApplicationVersionName() {
        return this.galleryApplicationVersionName;
    }

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

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

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

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

    private GetGalleryApplicationVersionPlainArgs() {}

    private GetGalleryApplicationVersionPlainArgs(GetGalleryApplicationVersionPlainArgs $) {
        this.expand = $.expand;
        this.galleryApplicationName = $.galleryApplicationName;
        this.galleryApplicationVersionName = $.galleryApplicationVersionName;
        this.galleryName = $.galleryName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetGalleryApplicationVersionPlainArgs $;

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

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

        /**
         * @param expand The expand expression to apply on the operation.
         * 
         * @return builder
         * 
         */
        public Builder expand(@Nullable String expand) {
            $.expand = expand;
            return this;
        }

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

        /**
         * @param galleryApplicationVersionName The name of the gallery Application Version to be retrieved.
         * 
         * @return builder
         * 
         */
        public Builder galleryApplicationVersionName(String galleryApplicationVersionName) {
            $.galleryApplicationVersionName = galleryApplicationVersionName;
            return this;
        }

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy