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

import com.pulumi.azure.monitoring.inputs.DataCollectionRuleDataSourcesLogFileSettingsTextArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;


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

    public static final DataCollectionRuleDataSourcesLogFileSettingsArgs Empty = new DataCollectionRuleDataSourcesLogFileSettingsArgs();

    /**
     * A `text` block as defined below.
     * 
     */
    @Import(name="text", required=true)
    private Output<DataCollectionRuleDataSourcesLogFileSettingsTextArgs> text;

    /**
     * @return A `text` block as defined below.
     * 
     */
    public Output<DataCollectionRuleDataSourcesLogFileSettingsTextArgs> text() {
        return this.text;
    }

    private DataCollectionRuleDataSourcesLogFileSettingsArgs() {}

    private DataCollectionRuleDataSourcesLogFileSettingsArgs(DataCollectionRuleDataSourcesLogFileSettingsArgs $) {
        this.text = $.text;
    }

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

    public static final class Builder {
        private DataCollectionRuleDataSourcesLogFileSettingsArgs $;

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

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

        /**
         * @param text A `text` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder text(Output<DataCollectionRuleDataSourcesLogFileSettingsTextArgs> text) {
            $.text = text;
            return this;
        }

        /**
         * @param text A `text` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder text(DataCollectionRuleDataSourcesLogFileSettingsTextArgs text) {
            return text(Output.of(text));
        }

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

}
