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

com.pulumi.azurenative.streamanalytics.inputs.AzureTableOutputDataSourceArgs 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.azurenative.streamanalytics.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Describes an Azure Table output data source.
 * 
 */
public final class AzureTableOutputDataSourceArgs extends com.pulumi.resources.ResourceArgs {

    public static final AzureTableOutputDataSourceArgs Empty = new AzureTableOutputDataSourceArgs();

    /**
     * The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests.
     * 
     */
    @Import(name="accountKey")
    private @Nullable Output accountKey;

    /**
     * @return The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests.
     * 
     */
    public Optional> accountKey() {
        return Optional.ofNullable(this.accountKey);
    }

    /**
     * The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests.
     * 
     */
    @Import(name="accountName")
    private @Nullable Output accountName;

    /**
     * @return The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests.
     * 
     */
    public Optional> accountName() {
        return Optional.ofNullable(this.accountName);
    }

    /**
     * The number of rows to write to the Azure Table at a time.
     * 
     */
    @Import(name="batchSize")
    private @Nullable Output batchSize;

    /**
     * @return The number of rows to write to the Azure Table at a time.
     * 
     */
    public Optional> batchSize() {
        return Optional.ofNullable(this.batchSize);
    }

    /**
     * If specified, each item in the array is the name of a column to remove (if present) from output event entities.
     * 
     */
    @Import(name="columnsToRemove")
    private @Nullable Output> columnsToRemove;

    /**
     * @return If specified, each item in the array is the name of a column to remove (if present) from output event entities.
     * 
     */
    public Optional>> columnsToRemove() {
        return Optional.ofNullable(this.columnsToRemove);
    }

    /**
     * This element indicates the name of a column from the SELECT statement in the query that will be used as the partition key for the Azure Table. Required on PUT (CreateOrReplace) requests.
     * 
     */
    @Import(name="partitionKey")
    private @Nullable Output partitionKey;

    /**
     * @return This element indicates the name of a column from the SELECT statement in the query that will be used as the partition key for the Azure Table. Required on PUT (CreateOrReplace) requests.
     * 
     */
    public Optional> partitionKey() {
        return Optional.ofNullable(this.partitionKey);
    }

    /**
     * This element indicates the name of a column from the SELECT statement in the query that will be used as the row key for the Azure Table. Required on PUT (CreateOrReplace) requests.
     * 
     */
    @Import(name="rowKey")
    private @Nullable Output rowKey;

    /**
     * @return This element indicates the name of a column from the SELECT statement in the query that will be used as the row key for the Azure Table. Required on PUT (CreateOrReplace) requests.
     * 
     */
    public Optional> rowKey() {
        return Optional.ofNullable(this.rowKey);
    }

    /**
     * The name of the Azure Table. Required on PUT (CreateOrReplace) requests.
     * 
     */
    @Import(name="table")
    private @Nullable Output table;

    /**
     * @return The name of the Azure Table. Required on PUT (CreateOrReplace) requests.
     * 
     */
    public Optional> table() {
        return Optional.ofNullable(this.table);
    }

    /**
     * Indicates the type of data source output will be written to. Required on PUT (CreateOrReplace) requests.
     * Expected value is 'Microsoft.Storage/Table'.
     * 
     */
    @Import(name="type", required=true)
    private Output type;

    /**
     * @return Indicates the type of data source output will be written to. Required on PUT (CreateOrReplace) requests.
     * Expected value is 'Microsoft.Storage/Table'.
     * 
     */
    public Output type() {
        return this.type;
    }

    private AzureTableOutputDataSourceArgs() {}

    private AzureTableOutputDataSourceArgs(AzureTableOutputDataSourceArgs $) {
        this.accountKey = $.accountKey;
        this.accountName = $.accountName;
        this.batchSize = $.batchSize;
        this.columnsToRemove = $.columnsToRemove;
        this.partitionKey = $.partitionKey;
        this.rowKey = $.rowKey;
        this.table = $.table;
        this.type = $.type;
    }

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

    public static final class Builder {
        private AzureTableOutputDataSourceArgs $;

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

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

        /**
         * @param accountKey The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests.
         * 
         * @return builder
         * 
         */
        public Builder accountKey(@Nullable Output accountKey) {
            $.accountKey = accountKey;
            return this;
        }

        /**
         * @param accountKey The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests.
         * 
         * @return builder
         * 
         */
        public Builder accountKey(String accountKey) {
            return accountKey(Output.of(accountKey));
        }

        /**
         * @param accountName The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests.
         * 
         * @return builder
         * 
         */
        public Builder accountName(@Nullable Output accountName) {
            $.accountName = accountName;
            return this;
        }

        /**
         * @param accountName The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests.
         * 
         * @return builder
         * 
         */
        public Builder accountName(String accountName) {
            return accountName(Output.of(accountName));
        }

        /**
         * @param batchSize The number of rows to write to the Azure Table at a time.
         * 
         * @return builder
         * 
         */
        public Builder batchSize(@Nullable Output batchSize) {
            $.batchSize = batchSize;
            return this;
        }

        /**
         * @param batchSize The number of rows to write to the Azure Table at a time.
         * 
         * @return builder
         * 
         */
        public Builder batchSize(Integer batchSize) {
            return batchSize(Output.of(batchSize));
        }

        /**
         * @param columnsToRemove If specified, each item in the array is the name of a column to remove (if present) from output event entities.
         * 
         * @return builder
         * 
         */
        public Builder columnsToRemove(@Nullable Output> columnsToRemove) {
            $.columnsToRemove = columnsToRemove;
            return this;
        }

        /**
         * @param columnsToRemove If specified, each item in the array is the name of a column to remove (if present) from output event entities.
         * 
         * @return builder
         * 
         */
        public Builder columnsToRemove(List columnsToRemove) {
            return columnsToRemove(Output.of(columnsToRemove));
        }

        /**
         * @param columnsToRemove If specified, each item in the array is the name of a column to remove (if present) from output event entities.
         * 
         * @return builder
         * 
         */
        public Builder columnsToRemove(String... columnsToRemove) {
            return columnsToRemove(List.of(columnsToRemove));
        }

        /**
         * @param partitionKey This element indicates the name of a column from the SELECT statement in the query that will be used as the partition key for the Azure Table. Required on PUT (CreateOrReplace) requests.
         * 
         * @return builder
         * 
         */
        public Builder partitionKey(@Nullable Output partitionKey) {
            $.partitionKey = partitionKey;
            return this;
        }

        /**
         * @param partitionKey This element indicates the name of a column from the SELECT statement in the query that will be used as the partition key for the Azure Table. Required on PUT (CreateOrReplace) requests.
         * 
         * @return builder
         * 
         */
        public Builder partitionKey(String partitionKey) {
            return partitionKey(Output.of(partitionKey));
        }

        /**
         * @param rowKey This element indicates the name of a column from the SELECT statement in the query that will be used as the row key for the Azure Table. Required on PUT (CreateOrReplace) requests.
         * 
         * @return builder
         * 
         */
        public Builder rowKey(@Nullable Output rowKey) {
            $.rowKey = rowKey;
            return this;
        }

        /**
         * @param rowKey This element indicates the name of a column from the SELECT statement in the query that will be used as the row key for the Azure Table. Required on PUT (CreateOrReplace) requests.
         * 
         * @return builder
         * 
         */
        public Builder rowKey(String rowKey) {
            return rowKey(Output.of(rowKey));
        }

        /**
         * @param table The name of the Azure Table. Required on PUT (CreateOrReplace) requests.
         * 
         * @return builder
         * 
         */
        public Builder table(@Nullable Output table) {
            $.table = table;
            return this;
        }

        /**
         * @param table The name of the Azure Table. Required on PUT (CreateOrReplace) requests.
         * 
         * @return builder
         * 
         */
        public Builder table(String table) {
            return table(Output.of(table));
        }

        /**
         * @param type Indicates the type of data source output will be written to. Required on PUT (CreateOrReplace) requests.
         * Expected value is 'Microsoft.Storage/Table'.
         * 
         * @return builder
         * 
         */
        public Builder type(Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Indicates the type of data source output will be written to. Required on PUT (CreateOrReplace) requests.
         * Expected value is 'Microsoft.Storage/Table'.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public AzureTableOutputDataSourceArgs build() {
            $.type = Codegen.stringProp("type").output().arg($.type).require();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy