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

com.pulumi.awsnative.sagemaker.kotlin.inputs.ModelExplainabilityJobDefinitionEndpointInputArgs.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.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

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

import com.pulumi.awsnative.sagemaker.inputs.ModelExplainabilityJobDefinitionEndpointInputArgs.builder
import com.pulumi.awsnative.sagemaker.kotlin.enums.ModelExplainabilityJobDefinitionEndpointInputS3DataDistributionType
import com.pulumi.awsnative.sagemaker.kotlin.enums.ModelExplainabilityJobDefinitionEndpointInputS3InputMode
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

/**
 * The endpoint for a monitoring job.
 * @property endpointName An endpoint in customer's account which has enabled `DataCaptureConfig` enabled.
 * @property featuresAttribute JSONpath to locate features in JSONlines dataset
 * @property inferenceAttribute Index or JSONpath to locate predicted label(s)
 * @property localPath Path to the filesystem where the endpoint data is available to the container.
 * @property probabilityAttribute Index or JSONpath to locate probabilities
 * @property s3DataDistributionType Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defauts to FullyReplicated
 * @property s3InputMode Whether the Pipe or File is used as the input mode for transfering data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File.
 */
public data class ModelExplainabilityJobDefinitionEndpointInputArgs(
    public val endpointName: Output,
    public val featuresAttribute: Output? = null,
    public val inferenceAttribute: Output? = null,
    public val localPath: Output,
    public val probabilityAttribute: Output? = null,
    public val s3DataDistributionType: Output? = null,
    public val s3InputMode: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.sagemaker.inputs.ModelExplainabilityJobDefinitionEndpointInputArgs =
        com.pulumi.awsnative.sagemaker.inputs.ModelExplainabilityJobDefinitionEndpointInputArgs.builder()
            .endpointName(endpointName.applyValue({ args0 -> args0 }))
            .featuresAttribute(featuresAttribute?.applyValue({ args0 -> args0 }))
            .inferenceAttribute(inferenceAttribute?.applyValue({ args0 -> args0 }))
            .localPath(localPath.applyValue({ args0 -> args0 }))
            .probabilityAttribute(probabilityAttribute?.applyValue({ args0 -> args0 }))
            .s3DataDistributionType(
                s3DataDistributionType?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .s3InputMode(s3InputMode?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [ModelExplainabilityJobDefinitionEndpointInputArgs].
 */
@PulumiTagMarker
public class ModelExplainabilityJobDefinitionEndpointInputArgsBuilder internal constructor() {
    private var endpointName: Output? = null

    private var featuresAttribute: Output? = null

    private var inferenceAttribute: Output? = null

    private var localPath: Output? = null

    private var probabilityAttribute: Output? = null

    private var s3DataDistributionType:
        Output? = null

    private var s3InputMode: Output? = null

    /**
     * @param value An endpoint in customer's account which has enabled `DataCaptureConfig` enabled.
     */
    @JvmName("uyuplyosjwlhiyhu")
    public suspend fun endpointName(`value`: Output) {
        this.endpointName = value
    }

    /**
     * @param value JSONpath to locate features in JSONlines dataset
     */
    @JvmName("bhmvxmihqljdxbdc")
    public suspend fun featuresAttribute(`value`: Output) {
        this.featuresAttribute = value
    }

    /**
     * @param value Index or JSONpath to locate predicted label(s)
     */
    @JvmName("vfrymgbusptlphel")
    public suspend fun inferenceAttribute(`value`: Output) {
        this.inferenceAttribute = value
    }

    /**
     * @param value Path to the filesystem where the endpoint data is available to the container.
     */
    @JvmName("fiysmkdfcnxrcywr")
    public suspend fun localPath(`value`: Output) {
        this.localPath = value
    }

    /**
     * @param value Index or JSONpath to locate probabilities
     */
    @JvmName("dinahxeaytkyatuu")
    public suspend fun probabilityAttribute(`value`: Output) {
        this.probabilityAttribute = value
    }

    /**
     * @param value Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defauts to FullyReplicated
     */
    @JvmName("bgsaxkwtatghjpju")
    public suspend fun s3DataDistributionType(`value`: Output) {
        this.s3DataDistributionType = value
    }

    /**
     * @param value Whether the Pipe or File is used as the input mode for transfering data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File.
     */
    @JvmName("apmgmkoeiuxphwhw")
    public suspend fun s3InputMode(`value`: Output) {
        this.s3InputMode = value
    }

    /**
     * @param value An endpoint in customer's account which has enabled `DataCaptureConfig` enabled.
     */
    @JvmName("vyqgpfndtfvqwfkw")
    public suspend fun endpointName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.endpointName = mapped
    }

    /**
     * @param value JSONpath to locate features in JSONlines dataset
     */
    @JvmName("dxanuemblekbqwwg")
    public suspend fun featuresAttribute(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.featuresAttribute = mapped
    }

    /**
     * @param value Index or JSONpath to locate predicted label(s)
     */
    @JvmName("twfagjhyusrevgjg")
    public suspend fun inferenceAttribute(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.inferenceAttribute = mapped
    }

    /**
     * @param value Path to the filesystem where the endpoint data is available to the container.
     */
    @JvmName("bwvevdlmuenrxqie")
    public suspend fun localPath(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.localPath = mapped
    }

    /**
     * @param value Index or JSONpath to locate probabilities
     */
    @JvmName("ukocwtgstbuewvym")
    public suspend fun probabilityAttribute(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.probabilityAttribute = mapped
    }

    /**
     * @param value Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 key. Defauts to FullyReplicated
     */
    @JvmName("mhrtcrdmxnwqxvof")
    public suspend fun s3DataDistributionType(`value`: ModelExplainabilityJobDefinitionEndpointInputS3DataDistributionType?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.s3DataDistributionType = mapped
    }

    /**
     * @param value Whether the Pipe or File is used as the input mode for transfering data for the monitoring job. Pipe mode is recommended for large datasets. File mode is useful for small files that fit in memory. Defaults to File.
     */
    @JvmName("uimsmnoeukyiwwpg")
    public suspend fun s3InputMode(`value`: ModelExplainabilityJobDefinitionEndpointInputS3InputMode?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.s3InputMode = mapped
    }

    internal fun build(): ModelExplainabilityJobDefinitionEndpointInputArgs =
        ModelExplainabilityJobDefinitionEndpointInputArgs(
            endpointName = endpointName ?: throw PulumiNullFieldException("endpointName"),
            featuresAttribute = featuresAttribute,
            inferenceAttribute = inferenceAttribute,
            localPath = localPath ?: throw PulumiNullFieldException("localPath"),
            probabilityAttribute = probabilityAttribute,
            s3DataDistributionType = s3DataDistributionType,
            s3InputMode = s3InputMode,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy