
com.pulumi.awsnative.rekognition.kotlin.inputs.StreamProcessorPointArgs.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.StreamProcessorPointArgs.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
/**
* An (X, Y) cartesian coordinate denoting a point on the frame
* @property x The X coordinate of the point.
* @property y The Y coordinate of the point.
*/
public data class StreamProcessorPointArgs(
public val x: Output,
public val y: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.rekognition.inputs.StreamProcessorPointArgs =
com.pulumi.awsnative.rekognition.inputs.StreamProcessorPointArgs.builder()
.x(x.applyValue({ args0 -> args0 }))
.y(y.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [StreamProcessorPointArgs].
*/
@PulumiTagMarker
public class StreamProcessorPointArgsBuilder internal constructor() {
private var x: Output? = null
private var y: Output? = null
/**
* @param value The X coordinate of the point.
*/
@JvmName("dnrkanqbeonfyolf")
public suspend fun x(`value`: Output) {
this.x = value
}
/**
* @param value The Y coordinate of the point.
*/
@JvmName("xeuwwjwxstdlobjs")
public suspend fun y(`value`: Output) {
this.y = value
}
/**
* @param value The X coordinate of the point.
*/
@JvmName("fnejsbhjkanuysqs")
public suspend fun x(`value`: Double) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.x = mapped
}
/**
* @param value The Y coordinate of the point.
*/
@JvmName("eievgmtymfhotsmu")
public suspend fun y(`value`: Double) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.y = mapped
}
internal fun build(): StreamProcessorPointArgs = StreamProcessorPointArgs(
x = x ?: throw PulumiNullFieldException("x"),
y = y ?: throw PulumiNullFieldException("y"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy