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

com.pulumi.azurenative.insights.GuestDiagnosticsSettingArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.insights;

import com.pulumi.azurenative.insights.inputs.DataSourceArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GuestDiagnosticsSettingArgs Empty = new GuestDiagnosticsSettingArgs();

    /**
     * the array of data source object which are configured to collect and send data
     * 
     */
    @Import(name="dataSources")
    private @Nullable Output> dataSources;

    /**
     * @return the array of data source object which are configured to collect and send data
     * 
     */
    public Optional>> dataSources() {
        return Optional.ofNullable(this.dataSources);
    }

    /**
     * The name of the diagnostic setting.
     * 
     */
    @Import(name="diagnosticSettingsName")
    private @Nullable Output diagnosticSettingsName;

    /**
     * @return The name of the diagnostic setting.
     * 
     */
    public Optional> diagnosticSettingsName() {
        return Optional.ofNullable(this.diagnosticSettingsName);
    }

    /**
     * Resource location
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

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

    /**
     * Operating system type for the configuration
     * 
     */
    @Import(name="osType")
    private @Nullable Output osType;

    /**
     * @return Operating system type for the configuration
     * 
     */
    public Optional> osType() {
        return Optional.ofNullable(this.osType);
    }

    @Import(name="proxySetting")
    private @Nullable Output proxySetting;

    public Optional> proxySetting() {
        return Optional.ofNullable(this.proxySetting);
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

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

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

    private GuestDiagnosticsSettingArgs() {}

    private GuestDiagnosticsSettingArgs(GuestDiagnosticsSettingArgs $) {
        this.dataSources = $.dataSources;
        this.diagnosticSettingsName = $.diagnosticSettingsName;
        this.location = $.location;
        this.osType = $.osType;
        this.proxySetting = $.proxySetting;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GuestDiagnosticsSettingArgs $;

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

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

        /**
         * @param dataSources the array of data source object which are configured to collect and send data
         * 
         * @return builder
         * 
         */
        public Builder dataSources(@Nullable Output> dataSources) {
            $.dataSources = dataSources;
            return this;
        }

        /**
         * @param dataSources the array of data source object which are configured to collect and send data
         * 
         * @return builder
         * 
         */
        public Builder dataSources(List dataSources) {
            return dataSources(Output.of(dataSources));
        }

        /**
         * @param dataSources the array of data source object which are configured to collect and send data
         * 
         * @return builder
         * 
         */
        public Builder dataSources(DataSourceArgs... dataSources) {
            return dataSources(List.of(dataSources));
        }

        /**
         * @param diagnosticSettingsName The name of the diagnostic setting.
         * 
         * @return builder
         * 
         */
        public Builder diagnosticSettingsName(@Nullable Output diagnosticSettingsName) {
            $.diagnosticSettingsName = diagnosticSettingsName;
            return this;
        }

        /**
         * @param diagnosticSettingsName The name of the diagnostic setting.
         * 
         * @return builder
         * 
         */
        public Builder diagnosticSettingsName(String diagnosticSettingsName) {
            return diagnosticSettingsName(Output.of(diagnosticSettingsName));
        }

        /**
         * @param location Resource location
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Resource location
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param osType Operating system type for the configuration
         * 
         * @return builder
         * 
         */
        public Builder osType(@Nullable Output osType) {
            $.osType = osType;
            return this;
        }

        /**
         * @param osType Operating system type for the configuration
         * 
         * @return builder
         * 
         */
        public Builder osType(String osType) {
            return osType(Output.of(osType));
        }

        public Builder proxySetting(@Nullable Output proxySetting) {
            $.proxySetting = proxySetting;
            return this;
        }

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

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy