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

com.pulumi.azure.automation.inputs.BoolVariableState Maven / Gradle / Ivy

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

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


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

    public static final BoolVariableState Empty = new BoolVariableState();

    /**
     * The name of the automation account in which the Variable is created. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="automationAccountName")
    private @Nullable Output automationAccountName;

    /**
     * @return The name of the automation account in which the Variable is created. Changing this forces a new resource to be created.
     * 
     */
    public Optional> automationAccountName() {
        return Optional.ofNullable(this.automationAccountName);
    }

    /**
     * The description of the Automation Variable.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return The description of the Automation Variable.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Specifies if the Automation Variable is encrypted. Defaults to `false`.
     * 
     */
    @Import(name="encrypted")
    private @Nullable Output encrypted;

    /**
     * @return Specifies if the Automation Variable is encrypted. Defaults to `false`.
     * 
     */
    public Optional> encrypted() {
        return Optional.ofNullable(this.encrypted);
    }

    /**
     * The name of the Automation Variable. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the Automation Variable. Changing this forces a new resource to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="resourceGroupName")
    private @Nullable Output resourceGroupName;

    /**
     * @return The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created.
     * 
     */
    public Optional> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

    /**
     * The value of the Automation Variable as a `boolean`.
     * 
     */
    @Import(name="value")
    private @Nullable Output value;

    /**
     * @return The value of the Automation Variable as a `boolean`.
     * 
     */
    public Optional> value() {
        return Optional.ofNullable(this.value);
    }

    private BoolVariableState() {}

    private BoolVariableState(BoolVariableState $) {
        this.automationAccountName = $.automationAccountName;
        this.description = $.description;
        this.encrypted = $.encrypted;
        this.name = $.name;
        this.resourceGroupName = $.resourceGroupName;
        this.value = $.value;
    }

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

    public static final class Builder {
        private BoolVariableState $;

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

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

        /**
         * @param automationAccountName The name of the automation account in which the Variable is created. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder automationAccountName(@Nullable Output automationAccountName) {
            $.automationAccountName = automationAccountName;
            return this;
        }

        /**
         * @param automationAccountName The name of the automation account in which the Variable is created. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder automationAccountName(String automationAccountName) {
            return automationAccountName(Output.of(automationAccountName));
        }

        /**
         * @param description The description of the Automation Variable.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description The description of the Automation Variable.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param encrypted Specifies if the Automation Variable is encrypted. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder encrypted(@Nullable Output encrypted) {
            $.encrypted = encrypted;
            return this;
        }

        /**
         * @param encrypted Specifies if the Automation Variable is encrypted. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder encrypted(Boolean encrypted) {
            return encrypted(Output.of(encrypted));
        }

        /**
         * @param name The name of the Automation Variable. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the Automation Variable. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param resourceGroupName The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(@Nullable Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group in which to create the Automation Variable. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param value The value of the Automation Variable as a `boolean`.
         * 
         * @return builder
         * 
         */
        public Builder value(@Nullable Output value) {
            $.value = value;
            return this;
        }

        /**
         * @param value The value of the Automation Variable as a `boolean`.
         * 
         * @return builder
         * 
         */
        public Builder value(Boolean value) {
            return value(Output.of(value));
        }

        public BoolVariableState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy