
com.pulumi.awsnative.sagemaker.kotlin.inputs.InferenceComponentRuntimeConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sagemaker.kotlin.inputs
import com.pulumi.awsnative.sagemaker.inputs.InferenceComponentRuntimeConfigArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The runtime config for the inference component
* @property copyCount The number of runtime copies of the model container to deploy with the inference component. Each copy can serve inference requests.
* @property currentCopyCount
* @property desiredCopyCount
*/
public data class InferenceComponentRuntimeConfigArgs(
public val copyCount: Output? = null,
public val currentCopyCount: Output? = null,
public val desiredCopyCount: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.InferenceComponentRuntimeConfigArgs =
com.pulumi.awsnative.sagemaker.inputs.InferenceComponentRuntimeConfigArgs.builder()
.copyCount(copyCount?.applyValue({ args0 -> args0 }))
.currentCopyCount(currentCopyCount?.applyValue({ args0 -> args0 }))
.desiredCopyCount(desiredCopyCount?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [InferenceComponentRuntimeConfigArgs].
*/
@PulumiTagMarker
public class InferenceComponentRuntimeConfigArgsBuilder internal constructor() {
private var copyCount: Output? = null
private var currentCopyCount: Output? = null
private var desiredCopyCount: Output? = null
/**
* @param value The number of runtime copies of the model container to deploy with the inference component. Each copy can serve inference requests.
*/
@JvmName("jjtymkyltgridqud")
public suspend fun copyCount(`value`: Output) {
this.copyCount = value
}
/**
* @param value
*/
@JvmName("orcsapkpvfkumkkc")
public suspend fun currentCopyCount(`value`: Output) {
this.currentCopyCount = value
}
/**
* @param value
*/
@JvmName("bcqmlfteapscwgxl")
public suspend fun desiredCopyCount(`value`: Output) {
this.desiredCopyCount = value
}
/**
* @param value The number of runtime copies of the model container to deploy with the inference component. Each copy can serve inference requests.
*/
@JvmName("wmgqjxnpolfofnbt")
public suspend fun copyCount(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.copyCount = mapped
}
/**
* @param value
*/
@JvmName("tbydeljljjrbmbyh")
public suspend fun currentCopyCount(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.currentCopyCount = mapped
}
/**
* @param value
*/
@JvmName("fekufgcqwubtqtrl")
public suspend fun desiredCopyCount(`value`: Int?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.desiredCopyCount = mapped
}
internal fun build(): InferenceComponentRuntimeConfigArgs = InferenceComponentRuntimeConfigArgs(
copyCount = copyCount,
currentCopyCount = currentCopyCount,
desiredCopyCount = desiredCopyCount,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy