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

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

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

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

import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * Overview about the model.
 * @property algorithmType Algorithm used to solve the problem.
 * @property inferenceEnvironment Overview about the inference.
 * @property modelArtifact Location of the model artifact.
 * @property modelCreator Creator of model.
 * @property modelDescription description of model.
 * @property modelId SageMaker Model Arn or Non SageMaker Model id.
 * @property modelName Name of the model.
 * @property modelOwner Owner of model.
 * @property modelVersion Version of the model.
 * @property problemType Problem being solved with the model.
 */
public data class ModelCardModelOverview(
    public val algorithmType: String? = null,
    public val inferenceEnvironment: ModelCardModelOverviewInferenceEnvironmentProperties? = null,
    public val modelArtifact: List? = null,
    public val modelCreator: String? = null,
    public val modelDescription: String? = null,
    public val modelId: String? = null,
    public val modelName: String? = null,
    public val modelOwner: String? = null,
    public val modelVersion: Double? = null,
    public val problemType: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.ModelCardModelOverview): ModelCardModelOverview = ModelCardModelOverview(
            algorithmType = javaType.algorithmType().map({ args0 -> args0 }).orElse(null),
            inferenceEnvironment = javaType.inferenceEnvironment().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.ModelCardModelOverviewInferenceEnvironmentProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
            modelArtifact = javaType.modelArtifact().map({ args0 -> args0 }),
            modelCreator = javaType.modelCreator().map({ args0 -> args0 }).orElse(null),
            modelDescription = javaType.modelDescription().map({ args0 -> args0 }).orElse(null),
            modelId = javaType.modelId().map({ args0 -> args0 }).orElse(null),
            modelName = javaType.modelName().map({ args0 -> args0 }).orElse(null),
            modelOwner = javaType.modelOwner().map({ args0 -> args0 }).orElse(null),
            modelVersion = javaType.modelVersion().map({ args0 -> args0 }).orElse(null),
            problemType = javaType.problemType().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy