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

com.pulumi.azure.storage.kotlin.inputs.GetTableEntitiesPlainArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.storage.kotlin.inputs

import com.pulumi.azure.storage.inputs.GetTableEntitiesPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * A collection of arguments for invoking getTableEntities.
 * @property filter The filter used to retrieve the entities.
 * @property selects A list of properties to select from the returned Storage Table Entities.
 * @property storageAccountName The name of the Storage Account where the Table exists.
 * @property tableName The name of the Table.
 */
public data class GetTableEntitiesPlainArgs(
    public val filter: String,
    public val selects: List? = null,
    public val storageAccountName: String,
    public val tableName: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.storage.inputs.GetTableEntitiesPlainArgs =
        com.pulumi.azure.storage.inputs.GetTableEntitiesPlainArgs.builder()
            .filter(filter.let({ args0 -> args0 }))
            .selects(selects?.let({ args0 -> args0.map({ args0 -> args0 }) }))
            .storageAccountName(storageAccountName.let({ args0 -> args0 }))
            .tableName(tableName.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetTableEntitiesPlainArgs].
 */
@PulumiTagMarker
public class GetTableEntitiesPlainArgsBuilder internal constructor() {
    private var filter: String? = null

    private var selects: List? = null

    private var storageAccountName: String? = null

    private var tableName: String? = null

    /**
     * @param value The filter used to retrieve the entities.
     */
    @JvmName("kiincqevviodahyd")
    public suspend fun filter(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.filter = mapped
    }

    /**
     * @param value A list of properties to select from the returned Storage Table Entities.
     */
    @JvmName("jvgfuqcxmqmwijmk")
    public suspend fun selects(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.selects = mapped
    }

    /**
     * @param values A list of properties to select from the returned Storage Table Entities.
     */
    @JvmName("puwewbitlhxamvfq")
    public suspend fun selects(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.selects = mapped
    }

    /**
     * @param value The name of the Storage Account where the Table exists.
     */
    @JvmName("kenmvjingxetbppr")
    public suspend fun storageAccountName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.storageAccountName = mapped
    }

    /**
     * @param value The name of the Table.
     */
    @JvmName("ipxpmgabettiaupf")
    public suspend fun tableName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.tableName = mapped
    }

    internal fun build(): GetTableEntitiesPlainArgs = GetTableEntitiesPlainArgs(
        filter = filter ?: throw PulumiNullFieldException("filter"),
        selects = selects,
        storageAccountName = storageAccountName ?: throw PulumiNullFieldException("storageAccountName"),
        tableName = tableName ?: throw PulumiNullFieldException("tableName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy