
com.pulumi.awsnative.rekognition.kotlin.inputs.StreamProcessorBoundingBoxArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.rekognition.kotlin.inputs
import com.pulumi.awsnative.rekognition.inputs.StreamProcessorBoundingBoxArgs.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.Suppress
import kotlin.jvm.JvmName
/**
* A bounding box denoting a region of interest in the frame to be analyzed.
* @property height Height of the bounding box as a ratio of the overall image height.
* @property left Left coordinate of the bounding box as a ratio of overall image width.
* @property top Top coordinate of the bounding box as a ratio of overall image height.
* @property width Width of the bounding box as a ratio of the overall image width.
*/
public data class StreamProcessorBoundingBoxArgs(
public val height: Output,
public val left: Output,
public val top: Output,
public val width: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.rekognition.inputs.StreamProcessorBoundingBoxArgs =
com.pulumi.awsnative.rekognition.inputs.StreamProcessorBoundingBoxArgs.builder()
.height(height.applyValue({ args0 -> args0 }))
.left(left.applyValue({ args0 -> args0 }))
.top(top.applyValue({ args0 -> args0 }))
.width(width.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [StreamProcessorBoundingBoxArgs].
*/
@PulumiTagMarker
public class StreamProcessorBoundingBoxArgsBuilder internal constructor() {
private var height: Output? = null
private var left: Output? = null
private var top: Output? = null
private var width: Output? = null
/**
* @param value Height of the bounding box as a ratio of the overall image height.
*/
@JvmName("radqdcliwstnqmil")
public suspend fun height(`value`: Output) {
this.height = value
}
/**
* @param value Left coordinate of the bounding box as a ratio of overall image width.
*/
@JvmName("pfgcwxlocghhafqm")
public suspend fun left(`value`: Output) {
this.left = value
}
/**
* @param value Top coordinate of the bounding box as a ratio of overall image height.
*/
@JvmName("xihmdcsshssdfdeb")
public suspend fun top(`value`: Output) {
this.top = value
}
/**
* @param value Width of the bounding box as a ratio of the overall image width.
*/
@JvmName("sipnfiyxxmdykaui")
public suspend fun width(`value`: Output) {
this.width = value
}
/**
* @param value Height of the bounding box as a ratio of the overall image height.
*/
@JvmName("mwosdmmlktklqsdx")
public suspend fun height(`value`: Double) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.height = mapped
}
/**
* @param value Left coordinate of the bounding box as a ratio of overall image width.
*/
@JvmName("bybgypxjaovjijij")
public suspend fun left(`value`: Double) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.left = mapped
}
/**
* @param value Top coordinate of the bounding box as a ratio of overall image height.
*/
@JvmName("pqryvomyjgfojkja")
public suspend fun top(`value`: Double) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.top = mapped
}
/**
* @param value Width of the bounding box as a ratio of the overall image width.
*/
@JvmName("tveengbapcthpjbw")
public suspend fun width(`value`: Double) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.width = mapped
}
internal fun build(): StreamProcessorBoundingBoxArgs = StreamProcessorBoundingBoxArgs(
height = height ?: throw PulumiNullFieldException("height"),
left = left ?: throw PulumiNullFieldException("left"),
top = top ?: throw PulumiNullFieldException("top"),
width = width ?: throw PulumiNullFieldException("width"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy