All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.sagemaker.kotlin.outputs.ModelCardSourceAlgorithm.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.sagemaker.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property algorithmName The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in AWS Marketplace that you are subscribed to.
 * @property modelDataUrl The Amazon S3 path where the model artifacts, which result from model training, are stored.
 */
public data class ModelCardSourceAlgorithm(
    public val algorithmName: String,
    public val modelDataUrl: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.ModelCardSourceAlgorithm): ModelCardSourceAlgorithm = ModelCardSourceAlgorithm(
            algorithmName = javaType.algorithmName(),
            modelDataUrl = javaType.modelDataUrl().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy