Interface CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty.Jsii$Proxy
- Enclosing class:
CfnEntityRecognizer
@Stability(Stable)
public static interface CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the format and location of the input data for an entity recognizer.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.comprehend.*;
EntityRecognizerInputDataConfigProperty entityRecognizerInputDataConfigProperty = EntityRecognizerInputDataConfigProperty.builder()
.entityTypes(List.of(EntityTypesListItemProperty.builder()
.type("type")
.build()))
// the properties below are optional
.annotations(EntityRecognizerAnnotationsProperty.builder()
.s3Uri("s3Uri")
// the properties below are optional
.testS3Uri("testS3Uri")
.build())
.augmentedManifests(List.of(AugmentedManifestsListItemProperty.builder()
.attributeNames(List.of("attributeNames"))
.s3Uri("s3Uri")
// the properties below are optional
.annotationDataS3Uri("annotationDataS3Uri")
.documentType("documentType")
.sourceDocumentsS3Uri("sourceDocumentsS3Uri")
.split("split")
.build()))
.dataFormat("dataFormat")
.documents(EntityRecognizerDocumentsProperty.builder()
.s3Uri("s3Uri")
// the properties below are optional
.inputFormat("inputFormat")
.testS3Uri("testS3Uri")
.build())
.entityList(EntityRecognizerEntityListProperty.builder()
.s3Uri("s3Uri")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnEntityRecognizer.EntityRecognizerInputDataConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectDescribes the annotations associated with an entity recognizer.default ObjectA list of augmented manifest files that provide training data for a custom model.default StringThe format of your training data.default ObjectDescribes the training documents submitted with an entity recognizer.default ObjectDescribes the entity list submitted with an entity recognizer.The entity types in the labeled training data.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEntityTypes
The entity types in the labeled training data.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnEntityRecognizer.EntityTypesListItemProperty>- See Also:
-
getAnnotations
Describes the annotations associated with an entity recognizer.Returns union: either
IResolvableorCfnEntityRecognizer.EntityRecognizerAnnotationsProperty- See Also:
-
getAugmentedManifests
A list of augmented manifest files that provide training data for a custom model.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnEntityRecognizer.AugmentedManifestsListItemProperty>- See Also:
-
getDataFormat
The format of your training data.- See Also:
-
getDocuments
Describes the training documents submitted with an entity recognizer.Returns union: either
IResolvableorCfnEntityRecognizer.EntityRecognizerDocumentsProperty- See Also:
-
getEntityList
Describes the entity list submitted with an entity recognizer.Returns union: either
IResolvableorCfnEntityRecognizer.EntityRecognizerEntityListProperty- See Also:
-
builder
@Stability(Stable) static CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty.Builder builder()
-