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

com.pulumi.azure.storage.kotlin.inputs.TableAclAccessPolicyArgs.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.azure.storage.inputs.TableAclAccessPolicyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property expiry The ISO8061 UTC time at which this Access Policy should be valid until.
 * @property permissions The permissions which should associated with this Shared Identifier.
 * @property start The ISO8061 UTC time at which this Access Policy should be valid from.
 */
public data class TableAclAccessPolicyArgs(
    public val expiry: Output,
    public val permissions: Output,
    public val start: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.storage.inputs.TableAclAccessPolicyArgs =
        com.pulumi.azure.storage.inputs.TableAclAccessPolicyArgs.builder()
            .expiry(expiry.applyValue({ args0 -> args0 }))
            .permissions(permissions.applyValue({ args0 -> args0 }))
            .start(start.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TableAclAccessPolicyArgs].
 */
@PulumiTagMarker
public class TableAclAccessPolicyArgsBuilder internal constructor() {
    private var expiry: Output? = null

    private var permissions: Output? = null

    private var start: Output? = null

    /**
     * @param value The ISO8061 UTC time at which this Access Policy should be valid until.
     */
    @JvmName("sksmwvbhunjotgct")
    public suspend fun expiry(`value`: Output) {
        this.expiry = value
    }

    /**
     * @param value The permissions which should associated with this Shared Identifier.
     */
    @JvmName("txbcpnyfcsdcjxgy")
    public suspend fun permissions(`value`: Output) {
        this.permissions = value
    }

    /**
     * @param value The ISO8061 UTC time at which this Access Policy should be valid from.
     */
    @JvmName("pghvrlfpkjhuexyu")
    public suspend fun start(`value`: Output) {
        this.start = value
    }

    /**
     * @param value The ISO8061 UTC time at which this Access Policy should be valid until.
     */
    @JvmName("kdjllkmvuxsqjlin")
    public suspend fun expiry(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.expiry = mapped
    }

    /**
     * @param value The permissions which should associated with this Shared Identifier.
     */
    @JvmName("yynxsyvvkocrxhac")
    public suspend fun permissions(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.permissions = mapped
    }

    /**
     * @param value The ISO8061 UTC time at which this Access Policy should be valid from.
     */
    @JvmName("lpidnvhkdyctnshn")
    public suspend fun start(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.start = mapped
    }

    internal fun build(): TableAclAccessPolicyArgs = TableAclAccessPolicyArgs(
        expiry = expiry ?: throw PulumiNullFieldException("expiry"),
        permissions = permissions ?: throw PulumiNullFieldException("permissions"),
        start = start ?: throw PulumiNullFieldException("start"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy