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

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

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.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetTableEntitiesArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetTableEntitiesArgs Empty = new GetTableEntitiesArgs();

    /**
     * The filter used to retrieve the entities.
     * 
     */
    @Import(name="filter", required=true)
    private Output filter;

    /**
     * @return The filter used to retrieve the entities.
     * 
     */
    public Output filter() {
        return this.filter;
    }

    /**
     * A list of properties to select from the returned Storage Table Entities.
     * 
     */
    @Import(name="selects")
    private @Nullable Output> selects;

    /**
     * @return A list of properties to select from the returned Storage Table Entities.
     * 
     */
    public Optional>> selects() {
        return Optional.ofNullable(this.selects);
    }

    /**
     * The Storage Table ID where the entities exist.
     * 
     */
    @Import(name="storageTableId", required=true)
    private Output storageTableId;

    /**
     * @return The Storage Table ID where the entities exist.
     * 
     */
    public Output storageTableId() {
        return this.storageTableId;
    }

    private GetTableEntitiesArgs() {}

    private GetTableEntitiesArgs(GetTableEntitiesArgs $) {
        this.filter = $.filter;
        this.selects = $.selects;
        this.storageTableId = $.storageTableId;
    }

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

    public static final class Builder {
        private GetTableEntitiesArgs $;

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

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

        /**
         * @param filter The filter used to retrieve the entities.
         * 
         * @return builder
         * 
         */
        public Builder filter(Output filter) {
            $.filter = filter;
            return this;
        }

        /**
         * @param filter The filter used to retrieve the entities.
         * 
         * @return builder
         * 
         */
        public Builder filter(String filter) {
            return filter(Output.of(filter));
        }

        /**
         * @param selects A list of properties to select from the returned Storage Table Entities.
         * 
         * @return builder
         * 
         */
        public Builder selects(@Nullable Output> selects) {
            $.selects = selects;
            return this;
        }

        /**
         * @param selects A list of properties to select from the returned Storage Table Entities.
         * 
         * @return builder
         * 
         */
        public Builder selects(List selects) {
            return selects(Output.of(selects));
        }

        /**
         * @param selects A list of properties to select from the returned Storage Table Entities.
         * 
         * @return builder
         * 
         */
        public Builder selects(String... selects) {
            return selects(List.of(selects));
        }

        /**
         * @param storageTableId The Storage Table ID where the entities exist.
         * 
         * @return builder
         * 
         */
        public Builder storageTableId(Output storageTableId) {
            $.storageTableId = storageTableId;
            return this;
        }

        /**
         * @param storageTableId The Storage Table ID where the entities exist.
         * 
         * @return builder
         * 
         */
        public Builder storageTableId(String storageTableId) {
            return storageTableId(Output.of(storageTableId));
        }

        public GetTableEntitiesArgs build() {
            if ($.filter == null) {
                throw new MissingRequiredPropertyException("GetTableEntitiesArgs", "filter");
            }
            if ($.storageTableId == null) {
                throw new MissingRequiredPropertyException("GetTableEntitiesArgs", "storageTableId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy