com.pulumi.awsnative.panorama.kotlin.ApplicationInstanceArgs.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.ApplicationInstanceArgs.builder
import com.pulumi.awsnative.panorama.kotlin.inputs.ApplicationInstanceManifestOverridesPayloadArgs
import com.pulumi.awsnative.panorama.kotlin.inputs.ApplicationInstanceManifestOverridesPayloadArgsBuilder
import com.pulumi.awsnative.panorama.kotlin.inputs.ApplicationInstanceManifestPayloadArgs
import com.pulumi.awsnative.panorama.kotlin.inputs.ApplicationInstanceManifestPayloadArgsBuilder
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 ApplicationInstance CloudFormation Resource
* @property applicationInstanceIdToReplace The ID of an application instance to replace with the new instance.
* @property defaultRuntimeContextDevice The device's ID.
* @property description A description for the application instance.
* @property manifestOverridesPayload Setting overrides for the application manifest.
* @property manifestPayload The application's manifest document.
* @property name A name for the application instance.
* @property runtimeRoleArn The ARN of a runtime role for the application instance.
* @property tags Tags for the application instance.
*/
public data class ApplicationInstanceArgs(
public val applicationInstanceIdToReplace: Output? = null,
public val defaultRuntimeContextDevice: Output? = null,
public val description: Output? = null,
public val manifestOverridesPayload: Output? =
null,
public val manifestPayload: Output? = null,
public val name: Output? = null,
public val runtimeRoleArn: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.panorama.ApplicationInstanceArgs =
com.pulumi.awsnative.panorama.ApplicationInstanceArgs.builder()
.applicationInstanceIdToReplace(applicationInstanceIdToReplace?.applyValue({ args0 -> args0 }))
.defaultRuntimeContextDevice(defaultRuntimeContextDevice?.applyValue({ args0 -> args0 }))
.description(description?.applyValue({ args0 -> args0 }))
.manifestOverridesPayload(
manifestOverridesPayload?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.manifestPayload(manifestPayload?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.name(name?.applyValue({ args0 -> args0 }))
.runtimeRoleArn(runtimeRoleArn?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [ApplicationInstanceArgs].
*/
@PulumiTagMarker
public class ApplicationInstanceArgsBuilder internal constructor() {
private var applicationInstanceIdToReplace: Output? = null
private var defaultRuntimeContextDevice: Output? = null
private var description: Output? = null
private var manifestOverridesPayload: Output? =
null
private var manifestPayload: Output? = null
private var name: Output? = null
private var runtimeRoleArn: Output? = null
private var tags: Output>? = null
/**
* @param value The ID of an application instance to replace with the new instance.
*/
@JvmName("chxoytyhelkjkwfx")
public suspend fun applicationInstanceIdToReplace(`value`: Output) {
this.applicationInstanceIdToReplace = value
}
/**
* @param value The device's ID.
*/
@JvmName("axystolmwyxmokko")
public suspend fun defaultRuntimeContextDevice(`value`: Output) {
this.defaultRuntimeContextDevice = value
}
/**
* @param value A description for the application instance.
*/
@JvmName("vjaifghlxhrjincy")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value Setting overrides for the application manifest.
*/
@JvmName("mofajcvaarnxghnv")
public suspend fun manifestOverridesPayload(`value`: Output) {
this.manifestOverridesPayload = value
}
/**
* @param value The application's manifest document.
*/
@JvmName("bstaahyxprtqodmf")
public suspend fun manifestPayload(`value`: Output) {
this.manifestPayload = value
}
/**
* @param value A name for the application instance.
*/
@JvmName("pavuvwwdpgiovune")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value The ARN of a runtime role for the application instance.
*/
@JvmName("iwewigkrhgcwalxe")
public suspend fun runtimeRoleArn(`value`: Output) {
this.runtimeRoleArn = value
}
/**
* @param value Tags for the application instance.
*/
@JvmName("uyjwnvgvrwttblbf")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("libufbknhoxrrcxy")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values Tags for the application instance.
*/
@JvmName("gvvywghwodqedsja")
public suspend fun tags(values: List