Interface DatasetEntityRecognizerInputDataConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DatasetEntityRecognizerInputDataConfig.Builder,
,DatasetEntityRecognizerInputDataConfig> SdkBuilder<DatasetEntityRecognizerInputDataConfig.Builder,
,DatasetEntityRecognizerInputDataConfig> SdkPojo
- Enclosing class:
DatasetEntityRecognizerInputDataConfig
-
Method Summary
Modifier and TypeMethodDescriptionannotations
(Consumer<DatasetEntityRecognizerAnnotations.Builder> annotations) The S3 location of the annotation documents for your custom entity recognizer.annotations
(DatasetEntityRecognizerAnnotations annotations) The S3 location of the annotation documents for your custom entity recognizer.The format and location of the training documents for your custom entity recognizer.documents
(DatasetEntityRecognizerDocuments documents) The format and location of the training documents for your custom entity recognizer.entityList
(Consumer<DatasetEntityRecognizerEntityList.Builder> entityList) The S3 location of the entity list for your custom entity recognizer.entityList
(DatasetEntityRecognizerEntityList entityList) The S3 location of the entity list for your custom entity recognizer.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
annotations
DatasetEntityRecognizerInputDataConfig.Builder annotations(DatasetEntityRecognizerAnnotations annotations) The S3 location of the annotation documents for your custom entity recognizer.
- Parameters:
annotations
- The S3 location of the annotation documents for your custom entity recognizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
annotations
default DatasetEntityRecognizerInputDataConfig.Builder annotations(Consumer<DatasetEntityRecognizerAnnotations.Builder> annotations) The S3 location of the annotation documents for your custom entity recognizer.
This is a convenience method that creates an instance of theDatasetEntityRecognizerAnnotations.Builder
avoiding the need to create one manually viaDatasetEntityRecognizerAnnotations.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toannotations(DatasetEntityRecognizerAnnotations)
.- Parameters:
annotations
- a consumer that will call methods onDatasetEntityRecognizerAnnotations.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documents
DatasetEntityRecognizerInputDataConfig.Builder documents(DatasetEntityRecognizerDocuments documents) The format and location of the training documents for your custom entity recognizer.
- Parameters:
documents
- The format and location of the training documents for your custom entity recognizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documents
default DatasetEntityRecognizerInputDataConfig.Builder documents(Consumer<DatasetEntityRecognizerDocuments.Builder> documents) The format and location of the training documents for your custom entity recognizer.
This is a convenience method that creates an instance of theDatasetEntityRecognizerDocuments.Builder
avoiding the need to create one manually viaDatasetEntityRecognizerDocuments.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todocuments(DatasetEntityRecognizerDocuments)
.- Parameters:
documents
- a consumer that will call methods onDatasetEntityRecognizerDocuments.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entityList
DatasetEntityRecognizerInputDataConfig.Builder entityList(DatasetEntityRecognizerEntityList entityList) The S3 location of the entity list for your custom entity recognizer.
- Parameters:
entityList
- The S3 location of the entity list for your custom entity recognizer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityList
default DatasetEntityRecognizerInputDataConfig.Builder entityList(Consumer<DatasetEntityRecognizerEntityList.Builder> entityList) The S3 location of the entity list for your custom entity recognizer.
This is a convenience method that creates an instance of theDatasetEntityRecognizerEntityList.Builder
avoiding the need to create one manually viaDatasetEntityRecognizerEntityList.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentityList(DatasetEntityRecognizerEntityList)
.- Parameters:
entityList
- a consumer that will call methods onDatasetEntityRecognizerEntityList.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-