All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.iot.kotlin.inputs.CaCertificateRegistrationConfigArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.iot.kotlin.inputs

import com.pulumi.awsnative.iot.inputs.CaCertificateRegistrationConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property roleArn The ARN of the role.
 * @property templateBody The template body.
 * @property templateName The name of the provisioning template.
 */
public data class CaCertificateRegistrationConfigArgs(
    public val roleArn: Output? = null,
    public val templateBody: Output? = null,
    public val templateName: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.iot.inputs.CaCertificateRegistrationConfigArgs =
        com.pulumi.awsnative.iot.inputs.CaCertificateRegistrationConfigArgs.builder()
            .roleArn(roleArn?.applyValue({ args0 -> args0 }))
            .templateBody(templateBody?.applyValue({ args0 -> args0 }))
            .templateName(templateName?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CaCertificateRegistrationConfigArgs].
 */
@PulumiTagMarker
public class CaCertificateRegistrationConfigArgsBuilder internal constructor() {
    private var roleArn: Output? = null

    private var templateBody: Output? = null

    private var templateName: Output? = null

    /**
     * @param value The ARN of the role.
     */
    @JvmName("imwqfwfyeekkrakg")
    public suspend fun roleArn(`value`: Output) {
        this.roleArn = value
    }

    /**
     * @param value The template body.
     */
    @JvmName("hcrlpyklnxunfhnu")
    public suspend fun templateBody(`value`: Output) {
        this.templateBody = value
    }

    /**
     * @param value The name of the provisioning template.
     */
    @JvmName("ceobirokrpjpcrmj")
    public suspend fun templateName(`value`: Output) {
        this.templateName = value
    }

    /**
     * @param value The ARN of the role.
     */
    @JvmName("ahkvgtpqlsmewpqs")
    public suspend fun roleArn(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.roleArn = mapped
    }

    /**
     * @param value The template body.
     */
    @JvmName("nbrlwksklgktiefd")
    public suspend fun templateBody(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.templateBody = mapped
    }

    /**
     * @param value The name of the provisioning template.
     */
    @JvmName("gndgbrfbiagpjgco")
    public suspend fun templateName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.templateName = mapped
    }

    internal fun build(): CaCertificateRegistrationConfigArgs = CaCertificateRegistrationConfigArgs(
        roleArn = roleArn,
        templateBody = templateBody,
        templateName = templateName,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy