com.pulumi.googlenative.vision.v1.kotlin.inputs.BoundingPolyArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.vision.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.vision.v1.inputs.BoundingPolyArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* A bounding polygon for the detected image annotation.
* @property normalizedVertices The bounding polygon normalized vertices.
* @property vertices The bounding polygon vertices.
*/
public data class BoundingPolyArgs(
public val normalizedVertices: Output>? = null,
public val vertices: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.vision.v1.inputs.BoundingPolyArgs =
com.pulumi.googlenative.vision.v1.inputs.BoundingPolyArgs.builder()
.normalizedVertices(
normalizedVertices?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.vertices(
vertices?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [BoundingPolyArgs].
*/
@PulumiTagMarker
public class BoundingPolyArgsBuilder internal constructor() {
private var normalizedVertices: Output>? = null
private var vertices: Output>? = null
/**
* @param value The bounding polygon normalized vertices.
*/
@JvmName("bfhmxqpmjcyxjppr")
public suspend fun normalizedVertices(`value`: Output>) {
this.normalizedVertices = value
}
@JvmName("lbdlhkpddbibpapj")
public suspend fun normalizedVertices(vararg values: Output) {
this.normalizedVertices = Output.all(values.asList())
}
/**
* @param values The bounding polygon normalized vertices.
*/
@JvmName("rjckyrqjkbpkxdqp")
public suspend fun normalizedVertices(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy