![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azurenative.storage.kotlin.inputs.AccessPolicyArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-azure-native-kotlin Show documentation
Show all versions of pulumi-azure-native-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.azurenative.storage.kotlin.inputs
import com.pulumi.azurenative.storage.inputs.AccessPolicyArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property expiryTime Expiry time of the access policy
* @property permission List of abbreviated permissions.
* @property startTime Start time of the access policy
*/
public data class AccessPolicyArgs(
public val expiryTime: Output? = null,
public val permission: Output? = null,
public val startTime: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.storage.inputs.AccessPolicyArgs =
com.pulumi.azurenative.storage.inputs.AccessPolicyArgs.builder()
.expiryTime(expiryTime?.applyValue({ args0 -> args0 }))
.permission(permission?.applyValue({ args0 -> args0 }))
.startTime(startTime?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AccessPolicyArgs].
*/
@PulumiTagMarker
public class AccessPolicyArgsBuilder internal constructor() {
private var expiryTime: Output? = null
private var permission: Output? = null
private var startTime: Output? = null
/**
* @param value Expiry time of the access policy
*/
@JvmName("cmnneietsqxbyagw")
public suspend fun expiryTime(`value`: Output) {
this.expiryTime = value
}
/**
* @param value List of abbreviated permissions.
*/
@JvmName("xexwikxneorevpct")
public suspend fun permission(`value`: Output) {
this.permission = value
}
/**
* @param value Start time of the access policy
*/
@JvmName("dkmsntqvtimfapnf")
public suspend fun startTime(`value`: Output) {
this.startTime = value
}
/**
* @param value Expiry time of the access policy
*/
@JvmName("qivjaddaoqbmgpmr")
public suspend fun expiryTime(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.expiryTime = mapped
}
/**
* @param value List of abbreviated permissions.
*/
@JvmName("bedvrpyxcceslfsy")
public suspend fun permission(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.permission = mapped
}
/**
* @param value Start time of the access policy
*/
@JvmName("yspntscromcbubes")
public suspend fun startTime(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.startTime = mapped
}
internal fun build(): AccessPolicyArgs = AccessPolicyArgs(
expiryTime = expiryTime,
permission = permission,
startTime = startTime,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy