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

com.pulumi.azure.storage.inputs.TableEntityState 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.storage.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final TableEntityState Empty = new TableEntityState();

    /**
     * A map of key/value pairs that describe the entity to be inserted/merged in to the storage table.
     * 
     */
    @Import(name="entity")
    private @Nullable Output> entity;

    /**
     * @return A map of key/value pairs that describe the entity to be inserted/merged in to the storage table.
     * 
     */
    public Optional>> entity() {
        return Optional.ofNullable(this.entity);
    }

    /**
     * The key for the partition where the entity will be inserted/merged. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="partitionKey")
    private @Nullable Output partitionKey;

    /**
     * @return The key for the partition where the entity will be inserted/merged. Changing this forces a new resource to be created.
     * 
     */
    public Optional> partitionKey() {
        return Optional.ofNullable(this.partitionKey);
    }

    /**
     * The key for the row where the entity will be inserted/merged. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="rowKey")
    private @Nullable Output rowKey;

    /**
     * @return The key for the row where the entity will be inserted/merged. Changing this forces a new resource to be created.
     * 
     */
    public Optional> rowKey() {
        return Optional.ofNullable(this.rowKey);
    }

    /**
     * The Storage Share ID in which this file will be placed into. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="storageTableId")
    private @Nullable Output storageTableId;

    /**
     * @return The Storage Share ID in which this file will be placed into. Changing this forces a new resource to be created.
     * 
     */
    public Optional> storageTableId() {
        return Optional.ofNullable(this.storageTableId);
    }

    private TableEntityState() {}

    private TableEntityState(TableEntityState $) {
        this.entity = $.entity;
        this.partitionKey = $.partitionKey;
        this.rowKey = $.rowKey;
        this.storageTableId = $.storageTableId;
    }

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

    public static final class Builder {
        private TableEntityState $;

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

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

        /**
         * @param entity A map of key/value pairs that describe the entity to be inserted/merged in to the storage table.
         * 
         * @return builder
         * 
         */
        public Builder entity(@Nullable Output> entity) {
            $.entity = entity;
            return this;
        }

        /**
         * @param entity A map of key/value pairs that describe the entity to be inserted/merged in to the storage table.
         * 
         * @return builder
         * 
         */
        public Builder entity(Map entity) {
            return entity(Output.of(entity));
        }

        /**
         * @param partitionKey The key for the partition where the entity will be inserted/merged. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder partitionKey(@Nullable Output partitionKey) {
            $.partitionKey = partitionKey;
            return this;
        }

        /**
         * @param partitionKey The key for the partition where the entity will be inserted/merged. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder partitionKey(String partitionKey) {
            return partitionKey(Output.of(partitionKey));
        }

        /**
         * @param rowKey The key for the row where the entity will be inserted/merged. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder rowKey(@Nullable Output rowKey) {
            $.rowKey = rowKey;
            return this;
        }

        /**
         * @param rowKey The key for the row where the entity will be inserted/merged. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder rowKey(String rowKey) {
            return rowKey(Output.of(rowKey));
        }

        /**
         * @param storageTableId The Storage Share ID in which this file will be placed into. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder storageTableId(@Nullable Output storageTableId) {
            $.storageTableId = storageTableId;
            return this;
        }

        /**
         * @param storageTableId The Storage Share ID in which this file will be placed into. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder storageTableId(String storageTableId) {
            return storageTableId(Output.of(storageTableId));
        }

        public TableEntityState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy