public static interface EntityRecognizerInputDataConfig.Builder extends SdkPojo, CopyableBuilder<EntityRecognizerInputDataConfig.Builder,EntityRecognizerInputDataConfig>
copy
applyMutation, build
EntityRecognizerInputDataConfig.Builder entityTypes(Collection<EntityTypesListItem> entityTypes)
The entity types in the input data for an entity recognizer.
entityTypes
- The entity types in the input data for an entity recognizer.EntityRecognizerInputDataConfig.Builder entityTypes(EntityTypesListItem... entityTypes)
The entity types in the input data for an entity recognizer.
entityTypes
- The entity types in the input data for an entity recognizer.EntityRecognizerInputDataConfig.Builder entityTypes(Consumer<EntityTypesListItem.Builder>... entityTypes)
The entity types in the input data for an entity recognizer.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #entityTypes(List)
.entityTypes
- a consumer that will call methods on List.Builder
#entityTypes(List)
EntityRecognizerInputDataConfig.Builder documents(EntityRecognizerDocuments documents)
S3 location of the documents folder for an entity recognizer
documents
- S3 location of the documents folder for an entity recognizerdefault EntityRecognizerInputDataConfig.Builder documents(Consumer<EntityRecognizerDocuments.Builder> documents)
S3 location of the documents folder for an entity recognizer
This is a convenience that creates an instance of theEntityRecognizerDocuments.Builder
avoiding the
need to create one manually via EntityRecognizerDocuments.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to documents(EntityRecognizerDocuments)
.documents
- a consumer that will call methods on EntityRecognizerDocuments.Builder
documents(EntityRecognizerDocuments)
EntityRecognizerInputDataConfig.Builder annotations(EntityRecognizerAnnotations annotations)
S3 location of the annotations file for an entity recognizer.
annotations
- S3 location of the annotations file for an entity recognizer.default EntityRecognizerInputDataConfig.Builder annotations(Consumer<EntityRecognizerAnnotations.Builder> annotations)
S3 location of the annotations file for an entity recognizer.
This is a convenience that creates an instance of theEntityRecognizerAnnotations.Builder
avoiding
the need to create one manually via EntityRecognizerAnnotations.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to annotations(EntityRecognizerAnnotations)
.annotations
- a consumer that will call methods on EntityRecognizerAnnotations.Builder
annotations(EntityRecognizerAnnotations)
EntityRecognizerInputDataConfig.Builder entityList(EntityRecognizerEntityList entityList)
S3 location of the entity list for an entity recognizer.
entityList
- S3 location of the entity list for an entity recognizer.default EntityRecognizerInputDataConfig.Builder entityList(Consumer<EntityRecognizerEntityList.Builder> entityList)
S3 location of the entity list for an entity recognizer.
This is a convenience that creates an instance of theEntityRecognizerEntityList.Builder
avoiding the
need to create one manually via EntityRecognizerEntityList.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to entityList(EntityRecognizerEntityList)
.entityList
- a consumer that will call methods on EntityRecognizerEntityList.Builder
entityList(EntityRecognizerEntityList)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.