
com.pulumi.awsnative.licensemanager.kotlin.inputs.LicenseBorrowConfigurationArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-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.awsnative.licensemanager.kotlin.inputs
import com.pulumi.awsnative.licensemanager.inputs.LicenseBorrowConfigurationArgs.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.Boolean
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property allowEarlyCheckIn Indicates whether early check-ins are allowed.
* @property maxTimeToLiveInMinutes Maximum time for the borrow configuration, in minutes.
*/
public data class LicenseBorrowConfigurationArgs(
public val allowEarlyCheckIn: Output,
public val maxTimeToLiveInMinutes: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.licensemanager.inputs.LicenseBorrowConfigurationArgs =
com.pulumi.awsnative.licensemanager.inputs.LicenseBorrowConfigurationArgs.builder()
.allowEarlyCheckIn(allowEarlyCheckIn.applyValue({ args0 -> args0 }))
.maxTimeToLiveInMinutes(maxTimeToLiveInMinutes.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [LicenseBorrowConfigurationArgs].
*/
@PulumiTagMarker
public class LicenseBorrowConfigurationArgsBuilder internal constructor() {
private var allowEarlyCheckIn: Output? = null
private var maxTimeToLiveInMinutes: Output? = null
/**
* @param value Indicates whether early check-ins are allowed.
*/
@JvmName("hmihrpjsjadibudd")
public suspend fun allowEarlyCheckIn(`value`: Output) {
this.allowEarlyCheckIn = value
}
/**
* @param value Maximum time for the borrow configuration, in minutes.
*/
@JvmName("scdqojahpwagodns")
public suspend fun maxTimeToLiveInMinutes(`value`: Output) {
this.maxTimeToLiveInMinutes = value
}
/**
* @param value Indicates whether early check-ins are allowed.
*/
@JvmName("typteeqrynfdxkmc")
public suspend fun allowEarlyCheckIn(`value`: Boolean) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.allowEarlyCheckIn = mapped
}
/**
* @param value Maximum time for the borrow configuration, in minutes.
*/
@JvmName("fdklmjwliasejmqd")
public suspend fun maxTimeToLiveInMinutes(`value`: Int) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.maxTimeToLiveInMinutes = mapped
}
internal fun build(): LicenseBorrowConfigurationArgs = LicenseBorrowConfigurationArgs(
allowEarlyCheckIn = allowEarlyCheckIn ?: throw PulumiNullFieldException("allowEarlyCheckIn"),
maxTimeToLiveInMinutes = maxTimeToLiveInMinutes ?: throw
PulumiNullFieldException("maxTimeToLiveInMinutes"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy