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

com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelPackageTransformOutputArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.11.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.sagemaker.kotlin.inputs

import com.pulumi.awsnative.sagemaker.inputs.ModelPackageTransformOutputArgs.builder
import com.pulumi.awsnative.sagemaker.kotlin.enums.ModelPackageTransformOutputAssembleWith
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 kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Describes the results of a transform job.
 * @property accept The MIME type used to specify the output data. Amazon SageMaker uses the MIME type with each http call to transfer data from the transform job.
 * @property assembleWith Defines how to assemble the results of the transform job as a single S3 object.
 * @property kmsKeyId The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
 * @property s3OutputPath The Amazon S3 path where you want Amazon SageMaker to store the results of the transform job.
 */
public data class ModelPackageTransformOutputArgs(
    public val accept: Output? = null,
    public val assembleWith: Output? = null,
    public val kmsKeyId: Output? = null,
    public val s3OutputPath: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.ModelPackageTransformOutputArgs =
        com.pulumi.awsnative.sagemaker.inputs.ModelPackageTransformOutputArgs.builder()
            .accept(accept?.applyValue({ args0 -> args0 }))
            .assembleWith(assembleWith?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .kmsKeyId(kmsKeyId?.applyValue({ args0 -> args0 }))
            .s3OutputPath(s3OutputPath.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ModelPackageTransformOutputArgs].
 */
@PulumiTagMarker
public class ModelPackageTransformOutputArgsBuilder internal constructor() {
    private var accept: Output? = null

    private var assembleWith: Output? = null

    private var kmsKeyId: Output? = null

    private var s3OutputPath: Output? = null

    /**
     * @param value The MIME type used to specify the output data. Amazon SageMaker uses the MIME type with each http call to transfer data from the transform job.
     */
    @JvmName("kyayfhjbmlyrbffk")
    public suspend fun accept(`value`: Output) {
        this.accept = value
    }

    /**
     * @param value Defines how to assemble the results of the transform job as a single S3 object.
     */
    @JvmName("dhyrcetmyvhqeswc")
    public suspend fun assembleWith(`value`: Output) {
        this.assembleWith = value
    }

    /**
     * @param value The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
     */
    @JvmName("jmcsgiwteyteivfc")
    public suspend fun kmsKeyId(`value`: Output) {
        this.kmsKeyId = value
    }

    /**
     * @param value The Amazon S3 path where you want Amazon SageMaker to store the results of the transform job.
     */
    @JvmName("ddyrsjwwsphdtxll")
    public suspend fun s3OutputPath(`value`: Output) {
        this.s3OutputPath = value
    }

    /**
     * @param value The MIME type used to specify the output data. Amazon SageMaker uses the MIME type with each http call to transfer data from the transform job.
     */
    @JvmName("lgyvwqcjtjjfsqfs")
    public suspend fun accept(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accept = mapped
    }

    /**
     * @param value Defines how to assemble the results of the transform job as a single S3 object.
     */
    @JvmName("bxggoiswswjtjmvl")
    public suspend fun assembleWith(`value`: ModelPackageTransformOutputAssembleWith?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.assembleWith = mapped
    }

    /**
     * @param value The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.
     */
    @JvmName("fwrlqdnckrduvvnc")
    public suspend fun kmsKeyId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.kmsKeyId = mapped
    }

    /**
     * @param value The Amazon S3 path where you want Amazon SageMaker to store the results of the transform job.
     */
    @JvmName("yipsxkgtiddedqbr")
    public suspend fun s3OutputPath(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.s3OutputPath = mapped
    }

    internal fun build(): ModelPackageTransformOutputArgs = ModelPackageTransformOutputArgs(
        accept = accept,
        assembleWith = assembleWith,
        kmsKeyId = kmsKeyId,
        s3OutputPath = s3OutputPath ?: throw PulumiNullFieldException("s3OutputPath"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy