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

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

package com.pulumi.awsnative.comprehend.kotlin.inputs

import com.pulumi.awsnative.comprehend.inputs.DocumentClassifierDocumentsArgs.builder
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

/**
 *
 * @property s3Uri The S3 URI location of the training documents specified in the S3Uri CSV file.
 * @property testS3Uri The S3 URI location of the test documents included in the TestS3Uri CSV file. This field is not required if you do not specify a test CSV file.
 */
public data class DocumentClassifierDocumentsArgs(
    public val s3Uri: Output,
    public val testS3Uri: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.comprehend.inputs.DocumentClassifierDocumentsArgs =
        com.pulumi.awsnative.comprehend.inputs.DocumentClassifierDocumentsArgs.builder()
            .s3Uri(s3Uri.applyValue({ args0 -> args0 }))
            .testS3Uri(testS3Uri?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DocumentClassifierDocumentsArgs].
 */
@PulumiTagMarker
public class DocumentClassifierDocumentsArgsBuilder internal constructor() {
    private var s3Uri: Output? = null

    private var testS3Uri: Output? = null

    /**
     * @param value The S3 URI location of the training documents specified in the S3Uri CSV file.
     */
    @JvmName("ooablrgxvbujiwie")
    public suspend fun s3Uri(`value`: Output) {
        this.s3Uri = value
    }

    /**
     * @param value The S3 URI location of the test documents included in the TestS3Uri CSV file. This field is not required if you do not specify a test CSV file.
     */
    @JvmName("ctvfwrbwjjigucwp")
    public suspend fun testS3Uri(`value`: Output) {
        this.testS3Uri = value
    }

    /**
     * @param value The S3 URI location of the training documents specified in the S3Uri CSV file.
     */
    @JvmName("cwhuaoyvaxwkakfl")
    public suspend fun s3Uri(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.s3Uri = mapped
    }

    /**
     * @param value The S3 URI location of the test documents included in the TestS3Uri CSV file. This field is not required if you do not specify a test CSV file.
     */
    @JvmName("ostulybscnpowovp")
    public suspend fun testS3Uri(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.testS3Uri = mapped
    }

    internal fun build(): DocumentClassifierDocumentsArgs = DocumentClassifierDocumentsArgs(
        s3Uri = s3Uri ?: throw PulumiNullFieldException("s3Uri"),
        testS3Uri = testS3Uri,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy