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

com.pulumi.azurenative.operationalinsights.StorageInsightConfigArgs Maven / Gradle / Ivy

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

import com.pulumi.azurenative.operationalinsights.inputs.StorageAccountArgs;
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 StorageInsightConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final StorageInsightConfigArgs Empty = new StorageInsightConfigArgs();

    /**
     * The names of the blob containers that the workspace should read
     * 
     */
    @Import(name="containers")
    private @Nullable Output> containers;

    /**
     * @return The names of the blob containers that the workspace should read
     * 
     */
    public Optional>> containers() {
        return Optional.ofNullable(this.containers);
    }

    /**
     * The ETag of the storage insight.
     * 
     */
    @Import(name="eTag")
    private @Nullable Output eTag;

    /**
     * @return The ETag of the storage insight.
     * 
     */
    public Optional> eTag() {
        return Optional.ofNullable(this.eTag);
    }

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

    /**
     * The storage account connection details
     * 
     */
    @Import(name="storageAccount", required=true)
    private Output storageAccount;

    /**
     * @return The storage account connection details
     * 
     */
    public Output storageAccount() {
        return this.storageAccount;
    }

    /**
     * Name of the storageInsightsConfigs resource
     * 
     */
    @Import(name="storageInsightName")
    private @Nullable Output storageInsightName;

    /**
     * @return Name of the storageInsightsConfigs resource
     * 
     */
    public Optional> storageInsightName() {
        return Optional.ofNullable(this.storageInsightName);
    }

    /**
     * The names of the Azure tables that the workspace should read
     * 
     */
    @Import(name="tables")
    private @Nullable Output> tables;

    /**
     * @return The names of the Azure tables that the workspace should read
     * 
     */
    public Optional>> tables() {
        return Optional.ofNullable(this.tables);
    }

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

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

    /**
     * The name of the workspace.
     * 
     */
    @Import(name="workspaceName", required=true)
    private Output workspaceName;

    /**
     * @return The name of the workspace.
     * 
     */
    public Output workspaceName() {
        return this.workspaceName;
    }

    private StorageInsightConfigArgs() {}

    private StorageInsightConfigArgs(StorageInsightConfigArgs $) {
        this.containers = $.containers;
        this.eTag = $.eTag;
        this.resourceGroupName = $.resourceGroupName;
        this.storageAccount = $.storageAccount;
        this.storageInsightName = $.storageInsightName;
        this.tables = $.tables;
        this.tags = $.tags;
        this.workspaceName = $.workspaceName;
    }

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

    public static final class Builder {
        private StorageInsightConfigArgs $;

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

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

        /**
         * @param containers The names of the blob containers that the workspace should read
         * 
         * @return builder
         * 
         */
        public Builder containers(@Nullable Output> containers) {
            $.containers = containers;
            return this;
        }

        /**
         * @param containers The names of the blob containers that the workspace should read
         * 
         * @return builder
         * 
         */
        public Builder containers(List containers) {
            return containers(Output.of(containers));
        }

        /**
         * @param containers The names of the blob containers that the workspace should read
         * 
         * @return builder
         * 
         */
        public Builder containers(String... containers) {
            return containers(List.of(containers));
        }

        /**
         * @param eTag The ETag of the storage insight.
         * 
         * @return builder
         * 
         */
        public Builder eTag(@Nullable Output eTag) {
            $.eTag = eTag;
            return this;
        }

        /**
         * @param eTag The ETag of the storage insight.
         * 
         * @return builder
         * 
         */
        public Builder eTag(String eTag) {
            return eTag(Output.of(eTag));
        }

        /**
         * @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 storageAccount The storage account connection details
         * 
         * @return builder
         * 
         */
        public Builder storageAccount(Output storageAccount) {
            $.storageAccount = storageAccount;
            return this;
        }

        /**
         * @param storageAccount The storage account connection details
         * 
         * @return builder
         * 
         */
        public Builder storageAccount(StorageAccountArgs storageAccount) {
            return storageAccount(Output.of(storageAccount));
        }

        /**
         * @param storageInsightName Name of the storageInsightsConfigs resource
         * 
         * @return builder
         * 
         */
        public Builder storageInsightName(@Nullable Output storageInsightName) {
            $.storageInsightName = storageInsightName;
            return this;
        }

        /**
         * @param storageInsightName Name of the storageInsightsConfigs resource
         * 
         * @return builder
         * 
         */
        public Builder storageInsightName(String storageInsightName) {
            return storageInsightName(Output.of(storageInsightName));
        }

        /**
         * @param tables The names of the Azure tables that the workspace should read
         * 
         * @return builder
         * 
         */
        public Builder tables(@Nullable Output> tables) {
            $.tables = tables;
            return this;
        }

        /**
         * @param tables The names of the Azure tables that the workspace should read
         * 
         * @return builder
         * 
         */
        public Builder tables(List tables) {
            return tables(Output.of(tables));
        }

        /**
         * @param tables The names of the Azure tables that the workspace should read
         * 
         * @return builder
         * 
         */
        public Builder tables(String... tables) {
            return tables(List.of(tables));
        }

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

        /**
         * @param workspaceName The name of the workspace.
         * 
         * @return builder
         * 
         */
        public Builder workspaceName(Output workspaceName) {
            $.workspaceName = workspaceName;
            return this;
        }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy