
com.pulumi.awsnative.panorama.kotlin.PackageArgs.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.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.awsnative.panorama.PackageArgs.builder
import com.pulumi.awsnative.panorama.kotlin.inputs.PackageStorageLocationArgs
import com.pulumi.awsnative.panorama.kotlin.inputs.PackageStorageLocationArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Schema for Package CloudFormation Resource
* @property packageName A name for the package.
* @property storageLocation A storage location.
* @property tags Tags for the package.
*/
public data class PackageArgs(
public val packageName: Output? = null,
public val storageLocation: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.panorama.PackageArgs =
com.pulumi.awsnative.panorama.PackageArgs.builder()
.packageName(packageName?.applyValue({ args0 -> args0 }))
.storageLocation(storageLocation?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [PackageArgs].
*/
@PulumiTagMarker
public class PackageArgsBuilder internal constructor() {
private var packageName: Output? = null
private var storageLocation: Output? = null
private var tags: Output>? = null
/**
* @param value A name for the package.
*/
@JvmName("lyycrtxhpocdvfbs")
public suspend fun packageName(`value`: Output) {
this.packageName = value
}
/**
* @param value A storage location.
*/
@JvmName("rlcvqvxsiraqdojj")
public suspend fun storageLocation(`value`: Output) {
this.storageLocation = value
}
/**
* @param value Tags for the package.
*/
@JvmName("rgmxiemloapjnnjq")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("hfmulpvewkeweyyj")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values Tags for the package.
*/
@JvmName("srxtaebsndqarhqa")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy