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

com.pulumi.awsnative.configuration.kotlin.inputs.ConformancePackInputParameterArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.configuration.kotlin.inputs

import com.pulumi.awsnative.configuration.inputs.ConformancePackInputParameterArgs.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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Input parameters in the form of key-value pairs for the conformance pack.
 * @property parameterName One part of a key-value pair.
 * @property parameterValue Another part of the key-value pair.
 */
public data class ConformancePackInputParameterArgs(
    public val parameterName: Output,
    public val parameterValue: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.configuration.inputs.ConformancePackInputParameterArgs = com.pulumi.awsnative.configuration.inputs.ConformancePackInputParameterArgs.builder()
        .parameterName(parameterName.applyValue({ args0 -> args0 }))
        .parameterValue(parameterValue.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ConformancePackInputParameterArgs].
 */
@PulumiTagMarker
public class ConformancePackInputParameterArgsBuilder internal constructor() {
    private var parameterName: Output? = null

    private var parameterValue: Output? = null

    /**
     * @param value One part of a key-value pair.
     */
    @JvmName("ekekjrxjeoyyxrow")
    public suspend fun parameterName(`value`: Output) {
        this.parameterName = value
    }

    /**
     * @param value Another part of the key-value pair.
     */
    @JvmName("tgpatxwrmsikludi")
    public suspend fun parameterValue(`value`: Output) {
        this.parameterValue = value
    }

    /**
     * @param value One part of a key-value pair.
     */
    @JvmName("ptmqomypjjjyxylg")
    public suspend fun parameterName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.parameterName = mapped
    }

    /**
     * @param value Another part of the key-value pair.
     */
    @JvmName("xinxtqmhxgusxwxv")
    public suspend fun parameterValue(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.parameterValue = mapped
    }

    internal fun build(): ConformancePackInputParameterArgs = ConformancePackInputParameterArgs(
        parameterName = parameterName ?: throw PulumiNullFieldException("parameterName"),
        parameterValue = parameterValue ?: throw PulumiNullFieldException("parameterValue"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy