![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.storage.kotlin.inputs.ShareAclAccessPolicyArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-kotlin Show documentation
Show all versions of pulumi-azure-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.storage.kotlin.inputs
import com.pulumi.azure.storage.inputs.ShareAclAccessPolicyArgs.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 time at which this Access Policy should be valid until, in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format.
* @property permissions The permissions which should be associated with this Shared Identifier. Possible value is combination of `r` (read), `w` (write), `d` (delete), and `l` (list).
* > **Note:** Permission order is strict at the service side, and permissions need to be listed in the order above.
* @property start The time at which this Access Policy should be valid from, in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format.
*/
public data class ShareAclAccessPolicyArgs(
public val expiry: Output? = null,
public val permissions: Output,
public val start: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.storage.inputs.ShareAclAccessPolicyArgs =
com.pulumi.azure.storage.inputs.ShareAclAccessPolicyArgs.builder()
.expiry(expiry?.applyValue({ args0 -> args0 }))
.permissions(permissions.applyValue({ args0 -> args0 }))
.start(start?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ShareAclAccessPolicyArgs].
*/
@PulumiTagMarker
public class ShareAclAccessPolicyArgsBuilder internal constructor() {
private var expiry: Output? = null
private var permissions: Output? = null
private var start: Output? = null
/**
* @param value The time at which this Access Policy should be valid until, in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format.
*/
@JvmName("dytouqaoithauhpi")
public suspend fun expiry(`value`: Output) {
this.expiry = value
}
/**
* @param value The permissions which should be associated with this Shared Identifier. Possible value is combination of `r` (read), `w` (write), `d` (delete), and `l` (list).
* > **Note:** Permission order is strict at the service side, and permissions need to be listed in the order above.
*/
@JvmName("augbhtxjqtoeebxo")
public suspend fun permissions(`value`: Output) {
this.permissions = value
}
/**
* @param value The time at which this Access Policy should be valid from, in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format.
*/
@JvmName("hixjfvdviirsluma")
public suspend fun start(`value`: Output) {
this.start = value
}
/**
* @param value The time at which this Access Policy should be valid until, in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format.
*/
@JvmName("slhqekdhhonqfgdu")
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 be associated with this Shared Identifier. Possible value is combination of `r` (read), `w` (write), `d` (delete), and `l` (list).
* > **Note:** Permission order is strict at the service side, and permissions need to be listed in the order above.
*/
@JvmName("duceudoyfjmagvbv")
public suspend fun permissions(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.permissions = mapped
}
/**
* @param value The time at which this Access Policy should be valid from, in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) format.
*/
@JvmName("ffygevjrqahwinmm")
public suspend fun start(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.start = mapped
}
internal fun build(): ShareAclAccessPolicyArgs = ShareAclAccessPolicyArgs(
expiry = expiry,
permissions = permissions ?: throw PulumiNullFieldException("permissions"),
start = start,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy