com.pulumi.azure.pim.kotlin.inputs.EligibleRoleAssignmentScheduleExpirationArgs.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.pim.kotlin.inputs
import com.pulumi.azure.pim.inputs.EligibleRoleAssignmentScheduleExpirationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property durationDays The duration of the role assignment in days. Changing this forces a new resource to be created.
* @property durationHours The duration of the role assignment in hours. Changing this forces a new resource to be created.
* @property endDateTime The end date/time of the role assignment. Changing this forces a new resource to be created.
* > Note: Only one of `duration_days`, `duration_hours` or `end_date_time` should be specified.
*/
public data class EligibleRoleAssignmentScheduleExpirationArgs(
public val durationDays: Output? = null,
public val durationHours: Output? = null,
public val endDateTime: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.pim.inputs.EligibleRoleAssignmentScheduleExpirationArgs =
com.pulumi.azure.pim.inputs.EligibleRoleAssignmentScheduleExpirationArgs.builder()
.durationDays(durationDays?.applyValue({ args0 -> args0 }))
.durationHours(durationHours?.applyValue({ args0 -> args0 }))
.endDateTime(endDateTime?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EligibleRoleAssignmentScheduleExpirationArgs].
*/
@PulumiTagMarker
public class EligibleRoleAssignmentScheduleExpirationArgsBuilder internal constructor() {
private var durationDays: Output? = null
private var durationHours: Output? = null
private var endDateTime: Output? = null
/**
* @param value The duration of the role assignment in days. Changing this forces a new resource to be created.
*/
@JvmName("khnugmgwmsyesrtn")
public suspend fun durationDays(`value`: Output) {
this.durationDays = value
}
/**
* @param value The duration of the role assignment in hours. Changing this forces a new resource to be created.
*/
@JvmName("cqqajjaxvvwcrjdo")
public suspend fun durationHours(`value`: Output) {
this.durationHours = value
}
/**
* @param value The end date/time of the role assignment. Changing this forces a new resource to be created.
* > Note: Only one of `duration_days`, `duration_hours` or `end_date_time` should be specified.
*/
@JvmName("efuldaihkffduweu")
public suspend fun endDateTime(`value`: Output) {
this.endDateTime = value
}
/**
* @param value The duration of the role assignment in days. Changing this forces a new resource to be created.
*/
@JvmName("toifpuaarwttrbfw")
public suspend fun durationDays(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.durationDays = mapped
}
/**
* @param value The duration of the role assignment in hours. Changing this forces a new resource to be created.
*/
@JvmName("knwmwmlikkctxvgl")
public suspend fun durationHours(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.durationHours = mapped
}
/**
* @param value The end date/time of the role assignment. Changing this forces a new resource to be created.
* > Note: Only one of `duration_days`, `duration_hours` or `end_date_time` should be specified.
*/
@JvmName("wotvupbokykdnrla")
public suspend fun endDateTime(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.endDateTime = mapped
}
internal fun build(): EligibleRoleAssignmentScheduleExpirationArgs =
EligibleRoleAssignmentScheduleExpirationArgs(
durationDays = durationDays,
durationHours = durationHours,
endDateTime = endDateTime,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy