
com.pulumi.awsnative.sagemaker.kotlin.outputs.InferenceExperimentShadowModelVariantConfig.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sagemaker.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
* The name and sampling percentage of a shadow variant.
* @property samplingPercentage The percentage of inference requests that Amazon SageMaker replicates from the production variant to the shadow variant.
* @property shadowModelVariantName The name of the shadow variant.
*/
public data class InferenceExperimentShadowModelVariantConfig(
public val samplingPercentage: Int,
public val shadowModelVariantName: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.InferenceExperimentShadowModelVariantConfig): InferenceExperimentShadowModelVariantConfig = InferenceExperimentShadowModelVariantConfig(
samplingPercentage = javaType.samplingPercentage(),
shadowModelVariantName = javaType.shadowModelVariantName(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy