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

com.pulumi.awsnative.iot.kotlin.inputs.ThingGroupPropertiesPropertiesArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.iot.inputs.ThingGroupPropertiesPropertiesArgs.builder
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.jvm.JvmName

/**
 * Thing group properties.
 * @property attributePayload The thing group attributes in JSON format.
 * @property thingGroupDescription The thing group description.
 */
public data class ThingGroupPropertiesPropertiesArgs(
    public val attributePayload: Output? = null,
    public val thingGroupDescription: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.iot.inputs.ThingGroupPropertiesPropertiesArgs =
        com.pulumi.awsnative.iot.inputs.ThingGroupPropertiesPropertiesArgs.builder()
            .attributePayload(attributePayload?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .thingGroupDescription(thingGroupDescription?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ThingGroupPropertiesPropertiesArgs].
 */
@PulumiTagMarker
public class ThingGroupPropertiesPropertiesArgsBuilder internal constructor() {
    private var attributePayload: Output? = null

    private var thingGroupDescription: Output? = null

    /**
     * @param value The thing group attributes in JSON format.
     */
    @JvmName("nrqungcuyfcpokec")
    public suspend fun attributePayload(`value`: Output) {
        this.attributePayload = value
    }

    /**
     * @param value The thing group description.
     */
    @JvmName("lijjlmixclhqmxym")
    public suspend fun thingGroupDescription(`value`: Output) {
        this.thingGroupDescription = value
    }

    /**
     * @param value The thing group attributes in JSON format.
     */
    @JvmName("pvkoggushwhelvrp")
    public suspend fun attributePayload(`value`: ThingGroupAttributePayloadArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.attributePayload = mapped
    }

    /**
     * @param argument The thing group attributes in JSON format.
     */
    @JvmName("iucjerilnsedfycg")
    public suspend fun attributePayload(argument: suspend ThingGroupAttributePayloadArgsBuilder.() -> Unit) {
        val toBeMapped = ThingGroupAttributePayloadArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.attributePayload = mapped
    }

    /**
     * @param value The thing group description.
     */
    @JvmName("fvbmxkfancnsucwf")
    public suspend fun thingGroupDescription(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.thingGroupDescription = mapped
    }

    internal fun build(): ThingGroupPropertiesPropertiesArgs = ThingGroupPropertiesPropertiesArgs(
        attributePayload = attributePayload,
        thingGroupDescription = thingGroupDescription,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy