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

com.pulumi.azure.network.inputs.FirewallPolicyInsightsLogAnalyticsWorkspaceArgs 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.network.inputs;

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


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

    public static final FirewallPolicyInsightsLogAnalyticsWorkspaceArgs Empty = new FirewallPolicyInsightsLogAnalyticsWorkspaceArgs();

    /**
     * The location of the Firewalls, that when matches this Log Analytics Workspace will be used to consume their logs.
     * 
     */
    @Import(name="firewallLocation", required=true)
    private Output firewallLocation;

    /**
     * @return The location of the Firewalls, that when matches this Log Analytics Workspace will be used to consume their logs.
     * 
     */
    public Output firewallLocation() {
        return this.firewallLocation;
    }

    /**
     * The ID of the Log Analytics Workspace that the Firewalls associated with this Firewall Policy will send their logs to when their locations match the `firewall_location`.
     * 
     */
    @Import(name="id", required=true)
    private Output id;

    /**
     * @return The ID of the Log Analytics Workspace that the Firewalls associated with this Firewall Policy will send their logs to when their locations match the `firewall_location`.
     * 
     */
    public Output id() {
        return this.id;
    }

    private FirewallPolicyInsightsLogAnalyticsWorkspaceArgs() {}

    private FirewallPolicyInsightsLogAnalyticsWorkspaceArgs(FirewallPolicyInsightsLogAnalyticsWorkspaceArgs $) {
        this.firewallLocation = $.firewallLocation;
        this.id = $.id;
    }

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

    public static final class Builder {
        private FirewallPolicyInsightsLogAnalyticsWorkspaceArgs $;

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

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

        /**
         * @param firewallLocation The location of the Firewalls, that when matches this Log Analytics Workspace will be used to consume their logs.
         * 
         * @return builder
         * 
         */
        public Builder firewallLocation(Output firewallLocation) {
            $.firewallLocation = firewallLocation;
            return this;
        }

        /**
         * @param firewallLocation The location of the Firewalls, that when matches this Log Analytics Workspace will be used to consume their logs.
         * 
         * @return builder
         * 
         */
        public Builder firewallLocation(String firewallLocation) {
            return firewallLocation(Output.of(firewallLocation));
        }

        /**
         * @param id The ID of the Log Analytics Workspace that the Firewalls associated with this Firewall Policy will send their logs to when their locations match the `firewall_location`.
         * 
         * @return builder
         * 
         */
        public Builder id(Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id The ID of the Log Analytics Workspace that the Firewalls associated with this Firewall Policy will send their logs to when their locations match the `firewall_location`.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        public FirewallPolicyInsightsLogAnalyticsWorkspaceArgs build() {
            if ($.firewallLocation == null) {
                throw new MissingRequiredPropertyException("FirewallPolicyInsightsLogAnalyticsWorkspaceArgs", "firewallLocation");
            }
            if ($.id == null) {
                throw new MissingRequiredPropertyException("FirewallPolicyInsightsLogAnalyticsWorkspaceArgs", "id");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy