com.pulumi.aws.comprehend.kotlin.inputs.EntityRecognizerInputDataConfigAugmentedManifestArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.comprehend.kotlin.inputs
import com.pulumi.aws.comprehend.inputs.EntityRecognizerInputDataConfigAugmentedManifestArgs.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.collections.List
import kotlin.jvm.JvmName
/**
*
* @property annotationDataS3Uri Location of annotation files.
* @property attributeNames The JSON attribute that contains the annotations for the training documents.
* @property documentType Type of augmented manifest.
* One of `PLAIN_TEXT_DOCUMENT` or `SEMI_STRUCTURED_DOCUMENT`.
* @property s3Uri Location of augmented manifest file.
* @property sourceDocumentsS3Uri Location of source PDF files.
* @property split Purpose of data in augmented manifest.
* One of `TRAIN` or `TEST`.
*/
public data class EntityRecognizerInputDataConfigAugmentedManifestArgs(
public val annotationDataS3Uri: Output? = null,
public val attributeNames: Output>,
public val documentType: Output? = null,
public val s3Uri: Output,
public val sourceDocumentsS3Uri: Output? = null,
public val split: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.aws.comprehend.inputs.EntityRecognizerInputDataConfigAugmentedManifestArgs =
com.pulumi.aws.comprehend.inputs.EntityRecognizerInputDataConfigAugmentedManifestArgs.builder()
.annotationDataS3Uri(annotationDataS3Uri?.applyValue({ args0 -> args0 }))
.attributeNames(attributeNames.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.documentType(documentType?.applyValue({ args0 -> args0 }))
.s3Uri(s3Uri.applyValue({ args0 -> args0 }))
.sourceDocumentsS3Uri(sourceDocumentsS3Uri?.applyValue({ args0 -> args0 }))
.split(split?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [EntityRecognizerInputDataConfigAugmentedManifestArgs].
*/
@PulumiTagMarker
public class EntityRecognizerInputDataConfigAugmentedManifestArgsBuilder internal constructor() {
private var annotationDataS3Uri: Output? = null
private var attributeNames: Output>? = null
private var documentType: Output? = null
private var s3Uri: Output? = null
private var sourceDocumentsS3Uri: Output? = null
private var split: Output? = null
/**
* @param value Location of annotation files.
*/
@JvmName("pbaxjsvqrhafwstn")
public suspend fun annotationDataS3Uri(`value`: Output) {
this.annotationDataS3Uri = value
}
/**
* @param value The JSON attribute that contains the annotations for the training documents.
*/
@JvmName("xlddidtuqlrrnlij")
public suspend fun attributeNames(`value`: Output>) {
this.attributeNames = value
}
@JvmName("qbkkfbyonbllkwer")
public suspend fun attributeNames(vararg values: Output) {
this.attributeNames = Output.all(values.asList())
}
/**
* @param values The JSON attribute that contains the annotations for the training documents.
*/
@JvmName("pawriwgbalvhmgvc")
public suspend fun attributeNames(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy