![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelPackageValidationProfileArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sagemaker.kotlin.inputs
import com.pulumi.awsnative.sagemaker.inputs.ModelPackageValidationProfileArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName
/**
* Contains data, such as the inputs and targeted instance types that are used in the process of validating the model package.
* @property profileName The name of the profile for the model package.
* @property transformJobDefinition The `TransformJobDefinition` object that describes the transform job used for the validation of the model package.
*/
public data class ModelPackageValidationProfileArgs(
public val profileName: Output,
public val transformJobDefinition: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.ModelPackageValidationProfileArgs =
com.pulumi.awsnative.sagemaker.inputs.ModelPackageValidationProfileArgs.builder()
.profileName(profileName.applyValue({ args0 -> args0 }))
.transformJobDefinition(
transformJobDefinition.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [ModelPackageValidationProfileArgs].
*/
@PulumiTagMarker
public class ModelPackageValidationProfileArgsBuilder internal constructor() {
private var profileName: Output? = null
private var transformJobDefinition: Output? = null
/**
* @param value The name of the profile for the model package.
*/
@JvmName("nayudnrlgdygidxo")
public suspend fun profileName(`value`: Output) {
this.profileName = value
}
/**
* @param value The `TransformJobDefinition` object that describes the transform job used for the validation of the model package.
*/
@JvmName("nuwytngrpuxhmboi")
public suspend fun transformJobDefinition(`value`: Output) {
this.transformJobDefinition = value
}
/**
* @param value The name of the profile for the model package.
*/
@JvmName("txekqagrysypcepk")
public suspend fun profileName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.profileName = mapped
}
/**
* @param value The `TransformJobDefinition` object that describes the transform job used for the validation of the model package.
*/
@JvmName("cpbfntfkvwdkjbjx")
public suspend fun transformJobDefinition(`value`: ModelPackageTransformJobDefinitionArgs) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.transformJobDefinition = mapped
}
/**
* @param argument The `TransformJobDefinition` object that describes the transform job used for the validation of the model package.
*/
@JvmName("fqigqqhiymitobhy")
public suspend fun transformJobDefinition(argument: suspend ModelPackageTransformJobDefinitionArgsBuilder.() -> Unit) {
val toBeMapped = ModelPackageTransformJobDefinitionArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.transformJobDefinition = mapped
}
internal fun build(): ModelPackageValidationProfileArgs = ModelPackageValidationProfileArgs(
profileName = profileName ?: throw PulumiNullFieldException("profileName"),
transformJobDefinition = transformJobDefinition ?: throw
PulumiNullFieldException("transformJobDefinition"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy