// *** 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.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final DscNodeConfigurationState Empty = new DscNodeConfigurationState();

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

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

    @Import(name="configurationName")
    private @Nullable Output<String> configurationName;

    public Optional<Output<String>> configurationName() {
        return Optional.ofNullable(this.configurationName);
    }

    /**
     * The PowerShell DSC Node Configuration (mof content).
     * 
     */
    @Import(name="contentEmbedded")
    private @Nullable Output<String> contentEmbedded;

    /**
     * @return The PowerShell DSC Node Configuration (mof content).
     * 
     */
    public Optional<Output<String>> contentEmbedded() {
        return Optional.ofNullable(this.contentEmbedded);
    }

    /**
     * Specifies the name of the DSC Node Configuration. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output<String> name;

    /**
     * @return Specifies the name of the DSC Node Configuration. Changing this forces a new resource to be created.
     * 
     */
    public Optional<Output<String>> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The name of the resource group in which the DSC Node Configuration is created. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="resourceGroupName")
    private @Nullable Output<String> resourceGroupName;

    /**
     * @return The name of the resource group in which the DSC Node Configuration is created. Changing this forces a new resource to be created.
     * 
     */
    public Optional<Output<String>> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

    private DscNodeConfigurationState() {}

    private DscNodeConfigurationState(DscNodeConfigurationState $) {
        this.automationAccountName = $.automationAccountName;
        this.configurationName = $.configurationName;
        this.contentEmbedded = $.contentEmbedded;
        this.name = $.name;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private DscNodeConfigurationState $;

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

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

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

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

        public Builder configurationName(@Nullable Output<String> configurationName) {
            $.configurationName = configurationName;
            return this;
        }

        public Builder configurationName(String configurationName) {
            return configurationName(Output.of(configurationName));
        }

        /**
         * @param contentEmbedded The PowerShell DSC Node Configuration (mof content).
         * 
         * @return builder
         * 
         */
        public Builder contentEmbedded(@Nullable Output<String> contentEmbedded) {
            $.contentEmbedded = contentEmbedded;
            return this;
        }

        /**
         * @param contentEmbedded The PowerShell DSC Node Configuration (mof content).
         * 
         * @return builder
         * 
         */
        public Builder contentEmbedded(String contentEmbedded) {
            return contentEmbedded(Output.of(contentEmbedded));
        }

        /**
         * @param name Specifies the name of the DSC Node Configuration. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output<String> name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specifies the name of the DSC Node Configuration. 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 the DSC Node Configuration is created. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(@Nullable Output<String> resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

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

        public DscNodeConfigurationState build() {
            return $;
        }
    }

}
