
com.pulumi.awsnative.rekognition.kotlin.inputs.StreamProcessorFaceSearchSettingsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.rekognition.kotlin.inputs
import com.pulumi.awsnative.rekognition.inputs.StreamProcessorFaceSearchSettingsArgs.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.Double
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Face search settings to use on a streaming video. Note that either FaceSearchSettings or ConnectedHomeSettings should be set. Not both
* @property collectionId The ID of a collection that contains faces that you want to search for.
* @property faceMatchThreshold Minimum face match confidence score percentage that must be met to return a result for a recognized face. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted.
*/
public data class StreamProcessorFaceSearchSettingsArgs(
public val collectionId: Output,
public val faceMatchThreshold: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.rekognition.inputs.StreamProcessorFaceSearchSettingsArgs =
com.pulumi.awsnative.rekognition.inputs.StreamProcessorFaceSearchSettingsArgs.builder()
.collectionId(collectionId.applyValue({ args0 -> args0 }))
.faceMatchThreshold(faceMatchThreshold?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [StreamProcessorFaceSearchSettingsArgs].
*/
@PulumiTagMarker
public class StreamProcessorFaceSearchSettingsArgsBuilder internal constructor() {
private var collectionId: Output? = null
private var faceMatchThreshold: Output? = null
/**
* @param value The ID of a collection that contains faces that you want to search for.
*/
@JvmName("nuwjsvwrewysxchn")
public suspend fun collectionId(`value`: Output) {
this.collectionId = value
}
/**
* @param value Minimum face match confidence score percentage that must be met to return a result for a recognized face. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted.
*/
@JvmName("cpywrxbvqdvvoabi")
public suspend fun faceMatchThreshold(`value`: Output) {
this.faceMatchThreshold = value
}
/**
* @param value The ID of a collection that contains faces that you want to search for.
*/
@JvmName("qncvbtajyujdsgwh")
public suspend fun collectionId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.collectionId = mapped
}
/**
* @param value Minimum face match confidence score percentage that must be met to return a result for a recognized face. The default is 80. 0 is the lowest confidence. 100 is the highest confidence. Values between 0 and 100 are accepted.
*/
@JvmName("umxqeelqjvrslnho")
public suspend fun faceMatchThreshold(`value`: Double?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.faceMatchThreshold = mapped
}
internal fun build(): StreamProcessorFaceSearchSettingsArgs =
StreamProcessorFaceSearchSettingsArgs(
collectionId = collectionId ?: throw PulumiNullFieldException("collectionId"),
faceMatchThreshold = faceMatchThreshold,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy