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

com.pulumi.azure.monitoring.outputs.DataCollectionRuleDestinationsStorageTableDirect Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.monitoring.outputs;

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

@CustomType
public final class DataCollectionRuleDestinationsStorageTableDirect {
    /**
     * @return The name which should be used for this destination. This name should be unique across all destinations regardless of type within the Data Collection Rule.
     * 
     */
    private String name;
    /**
     * @return The resource ID of the Storage Account.
     * 
     */
    private String storageAccountId;
    /**
     * @return The Storage Table name.
     * 
     */
    private String tableName;

    private DataCollectionRuleDestinationsStorageTableDirect() {}
    /**
     * @return The name which should be used for this destination. This name should be unique across all destinations regardless of type within the Data Collection Rule.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The resource ID of the Storage Account.
     * 
     */
    public String storageAccountId() {
        return this.storageAccountId;
    }
    /**
     * @return The Storage Table name.
     * 
     */
    public String tableName() {
        return this.tableName;
    }

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

    public static Builder builder(DataCollectionRuleDestinationsStorageTableDirect defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String name;
        private String storageAccountId;
        private String tableName;
        public Builder() {}
        public Builder(DataCollectionRuleDestinationsStorageTableDirect defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.name = defaults.name;
    	      this.storageAccountId = defaults.storageAccountId;
    	      this.tableName = defaults.tableName;
        }

        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("DataCollectionRuleDestinationsStorageTableDirect", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder storageAccountId(String storageAccountId) {
            if (storageAccountId == null) {
              throw new MissingRequiredPropertyException("DataCollectionRuleDestinationsStorageTableDirect", "storageAccountId");
            }
            this.storageAccountId = storageAccountId;
            return this;
        }
        @CustomType.Setter
        public Builder tableName(String tableName) {
            if (tableName == null) {
              throw new MissingRequiredPropertyException("DataCollectionRuleDestinationsStorageTableDirect", "tableName");
            }
            this.tableName = tableName;
            return this;
        }
        public DataCollectionRuleDestinationsStorageTableDirect build() {
            final var _resultValue = new DataCollectionRuleDestinationsStorageTableDirect();
            _resultValue.name = name;
            _resultValue.storageAccountId = storageAccountId;
            _resultValue.tableName = tableName;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy