
com.pulumi.awsnative.sagemaker.kotlin.outputs.InferenceComponentRuntimeConfig.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sagemaker.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
* 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 InferenceComponentRuntimeConfig(
public val copyCount: Int? = null,
public val currentCopyCount: Int? = null,
public val desiredCopyCount: Int? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.InferenceComponentRuntimeConfig): InferenceComponentRuntimeConfig = InferenceComponentRuntimeConfig(
copyCount = javaType.copyCount().map({ args0 -> args0 }).orElse(null),
currentCopyCount = javaType.currentCopyCount().map({ args0 -> args0 }).orElse(null),
desiredCopyCount = javaType.desiredCopyCount().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy