com.pulumi.awsnative.pcaconnectorad.kotlin.inputs.TemplateV2Args.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.pcaconnectorad.kotlin.inputs
import com.pulumi.awsnative.pcaconnectorad.inputs.TemplateV2Args.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 com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property certificateValidity
* @property enrollmentFlags
* @property extensions
* @property generalFlags
* @property privateKeyAttributes
* @property privateKeyFlags
* @property subjectNameFlags
* @property supersededTemplates
*/
public data class TemplateV2Args(
public val certificateValidity: Output,
public val enrollmentFlags: Output,
public val extensions: Output,
public val generalFlags: Output,
public val privateKeyAttributes: Output,
public val privateKeyFlags: Output,
public val subjectNameFlags: Output,
public val supersededTemplates: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.pcaconnectorad.inputs.TemplateV2Args =
com.pulumi.awsnative.pcaconnectorad.inputs.TemplateV2Args.builder()
.certificateValidity(
certificateValidity.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.enrollmentFlags(enrollmentFlags.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.extensions(extensions.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.generalFlags(generalFlags.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.privateKeyAttributes(
privateKeyAttributes.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.privateKeyFlags(privateKeyFlags.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.subjectNameFlags(subjectNameFlags.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.supersededTemplates(
supersededTemplates?.applyValue({ args0 ->
args0.map({ args0 ->
args0
})
}),
).build()
}
/**
* Builder for [TemplateV2Args].
*/
@PulumiTagMarker
public class TemplateV2ArgsBuilder internal constructor() {
private var certificateValidity: Output? = null
private var enrollmentFlags: Output? = null
private var extensions: Output? = null
private var generalFlags: Output? = null
private var privateKeyAttributes: Output? = null
private var privateKeyFlags: Output? = null
private var subjectNameFlags: Output? = null
private var supersededTemplates: Output>? = null
/**
* @param value
*/
@JvmName("qmwkxiriqhempatp")
public suspend fun certificateValidity(`value`: Output) {
this.certificateValidity = value
}
/**
* @param value
*/
@JvmName("iagjoxwssfgcgvrs")
public suspend fun enrollmentFlags(`value`: Output) {
this.enrollmentFlags = value
}
/**
* @param value
*/
@JvmName("tgnavmtnjpvqdcyl")
public suspend fun extensions(`value`: Output) {
this.extensions = value
}
/**
* @param value
*/
@JvmName("krmchmyjencdasau")
public suspend fun generalFlags(`value`: Output) {
this.generalFlags = value
}
/**
* @param value
*/
@JvmName("dvvhofwcypclcgpj")
public suspend fun privateKeyAttributes(`value`: Output) {
this.privateKeyAttributes = value
}
/**
* @param value
*/
@JvmName("lcmhhouiheetnlsi")
public suspend fun privateKeyFlags(`value`: Output) {
this.privateKeyFlags = value
}
/**
* @param value
*/
@JvmName("oemlysiyehvsmwug")
public suspend fun subjectNameFlags(`value`: Output) {
this.subjectNameFlags = value
}
/**
* @param value
*/
@JvmName("iomacjpjggqudkjv")
public suspend fun supersededTemplates(`value`: Output>) {
this.supersededTemplates = value
}
@JvmName("ocnmstplxgdaveii")
public suspend fun supersededTemplates(vararg values: Output) {
this.supersededTemplates = Output.all(values.asList())
}
/**
* @param values
*/
@JvmName("totnvctenetajjox")
public suspend fun supersededTemplates(values: List