![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.evidently.kotlin.outputs.ExperimentTreatmentToWeight.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.evidently.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property splitWeight The portion of experiment traffic to allocate to this treatment. Specify the traffic portion in thousandths of a percent, so 20,000 allocated to a treatment would allocate 20% of the experiment traffic to that treatment.
* @property treatment The name of the treatment.
*/
public data class ExperimentTreatmentToWeight(
public val splitWeight: Int,
public val treatment: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.evidently.outputs.ExperimentTreatmentToWeight): ExperimentTreatmentToWeight = ExperimentTreatmentToWeight(
splitWeight = javaType.splitWeight(),
treatment = javaType.treatment(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy