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

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

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 RuntimeEnvironmentArgs extends com.pulumi.resources.ResourceArgs {

    public static final RuntimeEnvironmentArgs Empty = new RuntimeEnvironmentArgs();

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

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

    /**
     * List of Default packages for Environment
     * 
     */
    @Import(name="defaultPackages")
    private @Nullable Output> defaultPackages;

    /**
     * @return List of Default packages for Environment
     * 
     */
    public Optional>> defaultPackages() {
        return Optional.ofNullable(this.defaultPackages);
    }

    /**
     * Gets or sets the description.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Gets or sets the description.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Language of Runtime Environment
     * 
     */
    @Import(name="language")
    private @Nullable Output language;

    /**
     * @return Language of Runtime Environment
     * 
     */
    public Optional> language() {
        return Optional.ofNullable(this.language);
    }

    /**
     * The geo-location where the resource lives
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The geo-location where the resource lives
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

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

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

    /**
     * The name of the Runtime Environment.
     * 
     */
    @Import(name="runtimeEnvironmentName")
    private @Nullable Output runtimeEnvironmentName;

    /**
     * @return The name of the Runtime Environment.
     * 
     */
    public Optional> runtimeEnvironmentName() {
        return Optional.ofNullable(this.runtimeEnvironmentName);
    }

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

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

    /**
     * Version of Language
     * 
     */
    @Import(name="version")
    private @Nullable Output version;

    /**
     * @return Version of Language
     * 
     */
    public Optional> version() {
        return Optional.ofNullable(this.version);
    }

    private RuntimeEnvironmentArgs() {}

    private RuntimeEnvironmentArgs(RuntimeEnvironmentArgs $) {
        this.automationAccountName = $.automationAccountName;
        this.defaultPackages = $.defaultPackages;
        this.description = $.description;
        this.language = $.language;
        this.location = $.location;
        this.resourceGroupName = $.resourceGroupName;
        this.runtimeEnvironmentName = $.runtimeEnvironmentName;
        this.tags = $.tags;
        this.version = $.version;
    }

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

    public static final class Builder {
        private RuntimeEnvironmentArgs $;

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

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

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

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

        /**
         * @param defaultPackages List of Default packages for Environment
         * 
         * @return builder
         * 
         */
        public Builder defaultPackages(@Nullable Output> defaultPackages) {
            $.defaultPackages = defaultPackages;
            return this;
        }

        /**
         * @param defaultPackages List of Default packages for Environment
         * 
         * @return builder
         * 
         */
        public Builder defaultPackages(Map defaultPackages) {
            return defaultPackages(Output.of(defaultPackages));
        }

        /**
         * @param description Gets or sets the description.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Gets or sets the description.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param language Language of Runtime Environment
         * 
         * @return builder
         * 
         */
        public Builder language(@Nullable Output language) {
            $.language = language;
            return this;
        }

        /**
         * @param language Language of Runtime Environment
         * 
         * @return builder
         * 
         */
        public Builder language(String language) {
            return language(Output.of(language));
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

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

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

        /**
         * @param runtimeEnvironmentName The name of the Runtime Environment.
         * 
         * @return builder
         * 
         */
        public Builder runtimeEnvironmentName(@Nullable Output runtimeEnvironmentName) {
            $.runtimeEnvironmentName = runtimeEnvironmentName;
            return this;
        }

        /**
         * @param runtimeEnvironmentName The name of the Runtime Environment.
         * 
         * @return builder
         * 
         */
        public Builder runtimeEnvironmentName(String runtimeEnvironmentName) {
            return runtimeEnvironmentName(Output.of(runtimeEnvironmentName));
        }

        /**
         * @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));
        }

        /**
         * @param version Version of Language
         * 
         * @return builder
         * 
         */
        public Builder version(@Nullable Output version) {
            $.version = version;
            return this;
        }

        /**
         * @param version Version of Language
         * 
         * @return builder
         * 
         */
        public Builder version(String version) {
            return version(Output.of(version));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy