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

com.pulumi.aws.rekognition.kotlin.inputs.StreamProcessorSettingsConnectedHomeArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.rekognition.kotlin.inputs

import com.pulumi.aws.rekognition.inputs.StreamProcessorSettingsConnectedHomeArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property labels Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: `PERSON`, `PET`, `PACKAGE`, and `ALL`.
 * @property minConfidence Minimum confidence required to label an object in the video.
 */
public data class StreamProcessorSettingsConnectedHomeArgs(
    public val labels: Output>? = null,
    public val minConfidence: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.rekognition.inputs.StreamProcessorSettingsConnectedHomeArgs = com.pulumi.aws.rekognition.inputs.StreamProcessorSettingsConnectedHomeArgs.builder()
        .labels(labels?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
        .minConfidence(minConfidence?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [StreamProcessorSettingsConnectedHomeArgs].
 */
@PulumiTagMarker
public class StreamProcessorSettingsConnectedHomeArgsBuilder internal constructor() {
    private var labels: Output>? = null

    private var minConfidence: Output? = null

    /**
     * @param value Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: `PERSON`, `PET`, `PACKAGE`, and `ALL`.
     */
    @JvmName("tbyehfjyovvfsdpu")
    public suspend fun labels(`value`: Output>) {
        this.labels = value
    }

    @JvmName("wsnbscakcxoxnkxb")
    public suspend fun labels(vararg values: Output) {
        this.labels = Output.all(values.asList())
    }

    /**
     * @param values Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: `PERSON`, `PET`, `PACKAGE`, and `ALL`.
     */
    @JvmName("raahayddpxtutkem")
    public suspend fun labels(values: List>) {
        this.labels = Output.all(values)
    }

    /**
     * @param value Minimum confidence required to label an object in the video.
     */
    @JvmName("illxmghjsjhgkocw")
    public suspend fun minConfidence(`value`: Output) {
        this.minConfidence = value
    }

    /**
     * @param value Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: `PERSON`, `PET`, `PACKAGE`, and `ALL`.
     */
    @JvmName("yvkfbuhfdiaadone")
    public suspend fun labels(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.labels = mapped
    }

    /**
     * @param values Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: `PERSON`, `PET`, `PACKAGE`, and `ALL`.
     */
    @JvmName("lsuqsnmihcytnolk")
    public suspend fun labels(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.labels = mapped
    }

    /**
     * @param value Minimum confidence required to label an object in the video.
     */
    @JvmName("nrgpconorerphwqt")
    public suspend fun minConfidence(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.minConfidence = mapped
    }

    internal fun build(): StreamProcessorSettingsConnectedHomeArgs =
        StreamProcessorSettingsConnectedHomeArgs(
            labels = labels,
            minConfidence = minConfidence,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy