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

com.pulumi.azurenative.automation.inputs.GetPython2PackagePlainArgs 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.automation.inputs;

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


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

    public static final GetPython2PackagePlainArgs Empty = new GetPython2PackagePlainArgs();

    /**
     * The name of the automation account.
     * 
     */
    @Import(name="automationAccountName", required=true)
    private String automationAccountName;

    /**
     * @return The name of the automation account.
     * 
     */
    public String automationAccountName() {
        return this.automationAccountName;
    }

    /**
     * The python package name.
     * 
     */
    @Import(name="packageName", required=true)
    private String packageName;

    /**
     * @return The python package name.
     * 
     */
    public String packageName() {
        return this.packageName;
    }

    /**
     * Name of an Azure Resource group.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return Name of an Azure Resource group.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetPython2PackagePlainArgs() {}

    private GetPython2PackagePlainArgs(GetPython2PackagePlainArgs $) {
        this.automationAccountName = $.automationAccountName;
        this.packageName = $.packageName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetPython2PackagePlainArgs $;

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

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

        /**
         * @param automationAccountName The name of the automation account.
         * 
         * @return builder
         * 
         */
        public Builder automationAccountName(String automationAccountName) {
            $.automationAccountName = automationAccountName;
            return this;
        }

        /**
         * @param packageName The python package name.
         * 
         * @return builder
         * 
         */
        public Builder packageName(String packageName) {
            $.packageName = packageName;
            return this;
        }

        /**
         * @param resourceGroupName Name of an Azure Resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        public GetPython2PackagePlainArgs build() {
            if ($.automationAccountName == null) {
                throw new MissingRequiredPropertyException("GetPython2PackagePlainArgs", "automationAccountName");
            }
            if ($.packageName == null) {
                throw new MissingRequiredPropertyException("GetPython2PackagePlainArgs", "packageName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetPython2PackagePlainArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy