Package com.pulumi.aws.comprehend.inputs
Class EntityRecognizerInputDataConfigArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.comprehend.inputs.EntityRecognizerInputDataConfigArgs.Builder
-
- Enclosing class:
- EntityRecognizerInputDataConfigArgs
public static final class EntityRecognizerInputDataConfigArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(EntityRecognizerInputDataConfigArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(EntityRecognizerInputDataConfigArgs defaults)
-
-
Method Detail
-
annotations
public EntityRecognizerInputDataConfigArgs.Builder annotations(@Nullable com.pulumi.core.Output<EntityRecognizerInputDataConfigAnnotationsArgs> annotations)
- Parameters:
annotations- Specifies location of the document annotation data. See the `annotations` Configuration Block section below. One of `annotations` or `entityList` is required.- Returns:
- builder
-
annotations
public EntityRecognizerInputDataConfigArgs.Builder annotations(EntityRecognizerInputDataConfigAnnotationsArgs annotations)
- Parameters:
annotations- Specifies location of the document annotation data. See the `annotations` Configuration Block section below. One of `annotations` or `entityList` is required.- Returns:
- builder
-
augmentedManifests
public EntityRecognizerInputDataConfigArgs.Builder augmentedManifests(@Nullable com.pulumi.core.Output<java.util.List<EntityRecognizerInputDataConfigAugmentedManifestArgs>> augmentedManifests)
- Parameters:
augmentedManifests- List of training datasets produced by Amazon SageMaker AI Ground Truth. Used if `dataFormat` is `AUGMENTED_MANIFEST`. See the `augmentedManifests` Configuration Block section below.- Returns:
- builder
-
augmentedManifests
public EntityRecognizerInputDataConfigArgs.Builder augmentedManifests(java.util.List<EntityRecognizerInputDataConfigAugmentedManifestArgs> augmentedManifests)
- Parameters:
augmentedManifests- List of training datasets produced by Amazon SageMaker AI Ground Truth. Used if `dataFormat` is `AUGMENTED_MANIFEST`. See the `augmentedManifests` Configuration Block section below.- Returns:
- builder
-
augmentedManifests
public EntityRecognizerInputDataConfigArgs.Builder augmentedManifests(EntityRecognizerInputDataConfigAugmentedManifestArgs... augmentedManifests)
- Parameters:
augmentedManifests- List of training datasets produced by Amazon SageMaker AI Ground Truth. Used if `dataFormat` is `AUGMENTED_MANIFEST`. See the `augmentedManifests` Configuration Block section below.- Returns:
- builder
-
dataFormat
public EntityRecognizerInputDataConfigArgs.Builder dataFormat(@Nullable com.pulumi.core.Output<java.lang.String> dataFormat)
- Parameters:
dataFormat- The format for the training data. One of `COMPREHEND_CSV` or `AUGMENTED_MANIFEST`.- Returns:
- builder
-
dataFormat
public EntityRecognizerInputDataConfigArgs.Builder dataFormat(java.lang.String dataFormat)
- Parameters:
dataFormat- The format for the training data. One of `COMPREHEND_CSV` or `AUGMENTED_MANIFEST`.- Returns:
- builder
-
documents
public EntityRecognizerInputDataConfigArgs.Builder documents(@Nullable com.pulumi.core.Output<EntityRecognizerInputDataConfigDocumentsArgs> documents)
- Parameters:
documents- Specifies a collection of training documents. Used if `dataFormat` is `COMPREHEND_CSV`. See the `documents` Configuration Block section below.- Returns:
- builder
-
documents
public EntityRecognizerInputDataConfigArgs.Builder documents(EntityRecognizerInputDataConfigDocumentsArgs documents)
- Parameters:
documents- Specifies a collection of training documents. Used if `dataFormat` is `COMPREHEND_CSV`. See the `documents` Configuration Block section below.- Returns:
- builder
-
entityList
public EntityRecognizerInputDataConfigArgs.Builder entityList(@Nullable com.pulumi.core.Output<EntityRecognizerInputDataConfigEntityListArgs> entityList)
- Parameters:
entityList- Specifies location of the entity list data. See the `entityList` Configuration Block section below. One of `entityList` or `annotations` is required.- Returns:
- builder
-
entityList
public EntityRecognizerInputDataConfigArgs.Builder entityList(EntityRecognizerInputDataConfigEntityListArgs entityList)
- Parameters:
entityList- Specifies location of the entity list data. See the `entityList` Configuration Block section below. One of `entityList` or `annotations` is required.- Returns:
- builder
-
entityTypes
public EntityRecognizerInputDataConfigArgs.Builder entityTypes(com.pulumi.core.Output<java.util.List<EntityRecognizerInputDataConfigEntityTypeArgs>> entityTypes)
- Parameters:
entityTypes- Set of entity types to be recognized. Has a maximum of 25 items. See the `entityTypes` Configuration Block section below.- Returns:
- builder
-
entityTypes
public EntityRecognizerInputDataConfigArgs.Builder entityTypes(java.util.List<EntityRecognizerInputDataConfigEntityTypeArgs> entityTypes)
- Parameters:
entityTypes- Set of entity types to be recognized. Has a maximum of 25 items. See the `entityTypes` Configuration Block section below.- Returns:
- builder
-
entityTypes
public EntityRecognizerInputDataConfigArgs.Builder entityTypes(EntityRecognizerInputDataConfigEntityTypeArgs... entityTypes)
- Parameters:
entityTypes- Set of entity types to be recognized. Has a maximum of 25 items. See the `entityTypes` Configuration Block section below.- Returns:
- builder
-
build
public EntityRecognizerInputDataConfigArgs build()
-
-