com.pulumi.awsnative.comprehend.kotlin.inputs.DocumentClassifierDocumentsArgs.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.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,
)
}