
com.pulumi.awsnative.panorama.kotlin.PackageVersionArgs.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.panorama.kotlin
import com.pulumi.awsnative.panorama.PackageVersionArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Schema for PackageVersion Resource Type
* @property markLatest Whether to mark the new version as the latest version.
* @property ownerAccount An owner account.
* @property packageId A package ID.
* @property packageVersion A package version.
* @property patchVersion A patch version.
* @property updatedLatestPatchVersion If the version was marked latest, the new version to maker as latest.
*/
public data class PackageVersionArgs(
public val markLatest: Output? = null,
public val ownerAccount: Output? = null,
public val packageId: Output? = null,
public val packageVersion: Output? = null,
public val patchVersion: Output? = null,
public val updatedLatestPatchVersion: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.panorama.PackageVersionArgs =
com.pulumi.awsnative.panorama.PackageVersionArgs.builder()
.markLatest(markLatest?.applyValue({ args0 -> args0 }))
.ownerAccount(ownerAccount?.applyValue({ args0 -> args0 }))
.packageId(packageId?.applyValue({ args0 -> args0 }))
.packageVersion(packageVersion?.applyValue({ args0 -> args0 }))
.patchVersion(patchVersion?.applyValue({ args0 -> args0 }))
.updatedLatestPatchVersion(updatedLatestPatchVersion?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [PackageVersionArgs].
*/
@PulumiTagMarker
public class PackageVersionArgsBuilder internal constructor() {
private var markLatest: Output? = null
private var ownerAccount: Output? = null
private var packageId: Output? = null
private var packageVersion: Output? = null
private var patchVersion: Output? = null
private var updatedLatestPatchVersion: Output? = null
/**
* @param value Whether to mark the new version as the latest version.
*/
@JvmName("wxwdvemdocyowkdp")
public suspend fun markLatest(`value`: Output) {
this.markLatest = value
}
/**
* @param value An owner account.
*/
@JvmName("duvrqpvqfbwbowxm")
public suspend fun ownerAccount(`value`: Output) {
this.ownerAccount = value
}
/**
* @param value A package ID.
*/
@JvmName("mbwjowbyoeccqywn")
public suspend fun packageId(`value`: Output) {
this.packageId = value
}
/**
* @param value A package version.
*/
@JvmName("kxkwqsxqjnyxiteq")
public suspend fun packageVersion(`value`: Output) {
this.packageVersion = value
}
/**
* @param value A patch version.
*/
@JvmName("nbvxshpgivwhbdmo")
public suspend fun patchVersion(`value`: Output) {
this.patchVersion = value
}
/**
* @param value If the version was marked latest, the new version to maker as latest.
*/
@JvmName("ocshsdobldlevipw")
public suspend fun updatedLatestPatchVersion(`value`: Output) {
this.updatedLatestPatchVersion = value
}
/**
* @param value Whether to mark the new version as the latest version.
*/
@JvmName("vpyomlrkdhyobveu")
public suspend fun markLatest(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.markLatest = mapped
}
/**
* @param value An owner account.
*/
@JvmName("vbisoijimxprtsaq")
public suspend fun ownerAccount(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.ownerAccount = mapped
}
/**
* @param value A package ID.
*/
@JvmName("gbwsdmhrkcmrhbfs")
public suspend fun packageId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.packageId = mapped
}
/**
* @param value A package version.
*/
@JvmName("bbwnrodmjxmcnvld")
public suspend fun packageVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.packageVersion = mapped
}
/**
* @param value A patch version.
*/
@JvmName("qwtggtjeatxvgdvi")
public suspend fun patchVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.patchVersion = mapped
}
/**
* @param value If the version was marked latest, the new version to maker as latest.
*/
@JvmName("joyskxndpereagwh")
public suspend fun updatedLatestPatchVersion(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.updatedLatestPatchVersion = mapped
}
internal fun build(): PackageVersionArgs = PackageVersionArgs(
markLatest = markLatest,
ownerAccount = ownerAccount,
packageId = packageId,
packageVersion = packageVersion,
patchVersion = patchVersion,
updatedLatestPatchVersion = updatedLatestPatchVersion,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy