![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.sagemaker.kotlin.outputs.ModelPackageTransformInput.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sagemaker.kotlin.outputs
import com.pulumi.awsnative.sagemaker.kotlin.enums.ModelPackageTransformInputCompressionType
import com.pulumi.awsnative.sagemaker.kotlin.enums.ModelPackageTransformInputSplitType
import kotlin.String
import kotlin.Suppress
/**
* Describes the input source of a transform job and the way the transform job consumes it.
* @property compressionType If your transform data is compressed, specify the compression type. Amazon SageMaker automatically decompresses the data for the transform job accordingly. The default value is None.
* @property contentType The multipurpose internet mail extension (MIME) type of the data. Amazon SageMaker uses the MIME type with each http call to transfer data to the transform job.
* @property dataSource Describes the location of the channel data, which is, the S3 location of the input data that the model can consume.
* @property splitType The method to use to split the transform job's data files into smaller batches.
*/
public data class ModelPackageTransformInput(
public val compressionType: ModelPackageTransformInputCompressionType? = null,
public val contentType: String? = null,
public val dataSource: ModelPackageDataSource,
public val splitType: ModelPackageTransformInputSplitType? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.ModelPackageTransformInput): ModelPackageTransformInput = ModelPackageTransformInput(
compressionType = javaType.compressionType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.enums.ModelPackageTransformInputCompressionType.Companion.toKotlin(args0)
})
}).orElse(null),
contentType = javaType.contentType().map({ args0 -> args0 }).orElse(null),
dataSource = javaType.dataSource().let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.outputs.ModelPackageDataSource.Companion.toKotlin(args0)
}),
splitType = javaType.splitType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.enums.ModelPackageTransformInputSplitType.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy