// *** 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.azure.compute.inputs;

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


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

    public static final LinuxVirtualMachineScaleSetGalleryApplicationArgs Empty = new LinuxVirtualMachineScaleSetGalleryApplicationArgs();

    /**
     * @deprecated
     * `configuration_reference_blob_uri` has been renamed to `configuration_blob_uri` and will be deprecated in 4.0
     * 
     */
    @Deprecated /* `configuration_reference_blob_uri` has been renamed to `configuration_blob_uri` and will be deprecated in 4.0 */
    @Import(name="configurationReferenceBlobUri")
    private @Nullable Output<String> configurationReferenceBlobUri;

    /**
     * @deprecated
     * `configuration_reference_blob_uri` has been renamed to `configuration_blob_uri` and will be deprecated in 4.0
     * 
     */
    @Deprecated /* `configuration_reference_blob_uri` has been renamed to `configuration_blob_uri` and will be deprecated in 4.0 */
    public Optional<Output<String>> configurationReferenceBlobUri() {
        return Optional.ofNullable(this.configurationReferenceBlobUri);
    }

    /**
     * Specifies the order in which the packages have to be installed. Possible values are between `0` and `2,147,483,647`. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="order")
    private @Nullable Output<Integer> order;

    /**
     * @return Specifies the order in which the packages have to be installed. Possible values are between `0` and `2,147,483,647`. Changing this forces a new resource to be created.
     * 
     */
    public Optional<Output<Integer>> order() {
        return Optional.ofNullable(this.order);
    }

    /**
     * @deprecated
     * `package_reference_id` has been renamed to `version_id` and will be deprecated in 4.0
     * 
     */
    @Deprecated /* `package_reference_id` has been renamed to `version_id` and will be deprecated in 4.0 */
    @Import(name="packageReferenceId", required=true)
    private Output<String> packageReferenceId;

    /**
     * @deprecated
     * `package_reference_id` has been renamed to `version_id` and will be deprecated in 4.0
     * 
     */
    @Deprecated /* `package_reference_id` has been renamed to `version_id` and will be deprecated in 4.0 */
    public Output<String> packageReferenceId() {
        return this.packageReferenceId;
    }

    /**
     * Specifies a passthrough value for more generic context. This field can be any valid `string` value. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="tag")
    private @Nullable Output<String> tag;

    /**
     * @return Specifies a passthrough value for more generic context. This field can be any valid `string` value. Changing this forces a new resource to be created.
     * 
     */
    public Optional<Output<String>> tag() {
        return Optional.ofNullable(this.tag);
    }

    private LinuxVirtualMachineScaleSetGalleryApplicationArgs() {}

    private LinuxVirtualMachineScaleSetGalleryApplicationArgs(LinuxVirtualMachineScaleSetGalleryApplicationArgs $) {
        this.configurationReferenceBlobUri = $.configurationReferenceBlobUri;
        this.order = $.order;
        this.packageReferenceId = $.packageReferenceId;
        this.tag = $.tag;
    }

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

    public static final class Builder {
        private LinuxVirtualMachineScaleSetGalleryApplicationArgs $;

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

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

        /**
         * @return builder
         * 
         * @deprecated
         * `configuration_reference_blob_uri` has been renamed to `configuration_blob_uri` and will be deprecated in 4.0
         * 
         */
        @Deprecated /* `configuration_reference_blob_uri` has been renamed to `configuration_blob_uri` and will be deprecated in 4.0 */
        public Builder configurationReferenceBlobUri(@Nullable Output<String> configurationReferenceBlobUri) {
            $.configurationReferenceBlobUri = configurationReferenceBlobUri;
            return this;
        }

        /**
         * @return builder
         * 
         * @deprecated
         * `configuration_reference_blob_uri` has been renamed to `configuration_blob_uri` and will be deprecated in 4.0
         * 
         */
        @Deprecated /* `configuration_reference_blob_uri` has been renamed to `configuration_blob_uri` and will be deprecated in 4.0 */
        public Builder configurationReferenceBlobUri(String configurationReferenceBlobUri) {
            return configurationReferenceBlobUri(Output.of(configurationReferenceBlobUri));
        }

        /**
         * @param order Specifies the order in which the packages have to be installed. Possible values are between `0` and `2,147,483,647`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder order(@Nullable Output<Integer> order) {
            $.order = order;
            return this;
        }

        /**
         * @param order Specifies the order in which the packages have to be installed. Possible values are between `0` and `2,147,483,647`. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder order(Integer order) {
            return order(Output.of(order));
        }

        /**
         * @return builder
         * 
         * @deprecated
         * `package_reference_id` has been renamed to `version_id` and will be deprecated in 4.0
         * 
         */
        @Deprecated /* `package_reference_id` has been renamed to `version_id` and will be deprecated in 4.0 */
        public Builder packageReferenceId(Output<String> packageReferenceId) {
            $.packageReferenceId = packageReferenceId;
            return this;
        }

        /**
         * @return builder
         * 
         * @deprecated
         * `package_reference_id` has been renamed to `version_id` and will be deprecated in 4.0
         * 
         */
        @Deprecated /* `package_reference_id` has been renamed to `version_id` and will be deprecated in 4.0 */
        public Builder packageReferenceId(String packageReferenceId) {
            return packageReferenceId(Output.of(packageReferenceId));
        }

        /**
         * @param tag Specifies a passthrough value for more generic context. This field can be any valid `string` value. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder tag(@Nullable Output<String> tag) {
            $.tag = tag;
            return this;
        }

        /**
         * @param tag Specifies a passthrough value for more generic context. This field can be any valid `string` value. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder tag(String tag) {
            return tag(Output.of(tag));
        }

        public LinuxVirtualMachineScaleSetGalleryApplicationArgs build() {
            $.packageReferenceId = Objects.requireNonNull($.packageReferenceId, "expected parameter 'packageReferenceId' to be non-null");
            return $;
        }
    }

}
