
com.pulumi.awsnative.sagemaker.kotlin.outputs.ModelCardModelPackageDetails.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sagemaker.kotlin.outputs
import com.pulumi.awsnative.sagemaker.kotlin.enums.ModelCardModelPackageDetailsModelApprovalStatus
import com.pulumi.awsnative.sagemaker.kotlin.enums.ModelCardModelPackageDetailsModelPackageStatus
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* Metadata information related to model package version
* @property approvalDescription A description provided for the model approval
* @property createdBy Information about the user who created model package.
* @property domain The machine learning domain of the model package you specified. Common machine learning domains include computer vision and natural language processing.
* @property inferenceSpecification Details about inference jobs that can be run with models based on this model package.
* @property modelApprovalStatus Current approval status of model package
* @property modelPackageArn The Amazon Resource Name (ARN) of the model package
* @property modelPackageDescription A brief summary of the model package
* @property modelPackageGroupName If the model is a versioned model, the name of the model group that the versioned model belongs to.
* @property modelPackageName Name of the model package
* @property modelPackageStatus Current status of model package
* @property modelPackageVersion Version of the model package
* @property sourceAlgorithms A list of algorithms that were used to create a model package.
* @property task The machine learning task you specified that your model package accomplishes. Common machine learning tasks include object detection and image classification.
*/
public data class ModelCardModelPackageDetails(
public val approvalDescription: String? = null,
public val createdBy: ModelCardModelPackageCreator? = null,
public val domain: String? = null,
public val inferenceSpecification: ModelCardInferenceSpecification? = null,
public val modelApprovalStatus: ModelCardModelPackageDetailsModelApprovalStatus? = null,
public val modelPackageArn: String? = null,
public val modelPackageDescription: String? = null,
public val modelPackageGroupName: String? = null,
public val modelPackageName: String? = null,
public val modelPackageStatus: ModelCardModelPackageDetailsModelPackageStatus? = null,
public val modelPackageVersion: Double? = null,
public val sourceAlgorithms: List? = null,
public val task: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.ModelCardModelPackageDetails): ModelCardModelPackageDetails = ModelCardModelPackageDetails(
approvalDescription = javaType.approvalDescription().map({ args0 -> args0 }).orElse(null),
createdBy = javaType.createdBy().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.outputs.ModelCardModelPackageCreator.Companion.toKotlin(args0)
})
}).orElse(null),
domain = javaType.domain().map({ args0 -> args0 }).orElse(null),
inferenceSpecification = javaType.inferenceSpecification().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.outputs.ModelCardInferenceSpecification.Companion.toKotlin(args0)
})
}).orElse(null),
modelApprovalStatus = javaType.modelApprovalStatus().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.enums.ModelCardModelPackageDetailsModelApprovalStatus.Companion.toKotlin(args0)
})
}).orElse(null),
modelPackageArn = javaType.modelPackageArn().map({ args0 -> args0 }).orElse(null),
modelPackageDescription = javaType.modelPackageDescription().map({ args0 -> args0 }).orElse(null),
modelPackageGroupName = javaType.modelPackageGroupName().map({ args0 -> args0 }).orElse(null),
modelPackageName = javaType.modelPackageName().map({ args0 -> args0 }).orElse(null),
modelPackageStatus = javaType.modelPackageStatus().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.enums.ModelCardModelPackageDetailsModelPackageStatus.Companion.toKotlin(args0)
})
}).orElse(null),
modelPackageVersion = javaType.modelPackageVersion().map({ args0 -> args0 }).orElse(null),
sourceAlgorithms = javaType.sourceAlgorithms().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.outputs.ModelCardSourceAlgorithm.Companion.toKotlin(args0)
})
}),
task = javaType.task().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy