Interface DatasetEntityRecognizerInputDataConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DatasetEntityRecognizerInputDataConfig.Builder,DatasetEntityRecognizerInputDataConfig>,SdkBuilder<DatasetEntityRecognizerInputDataConfig.Builder,DatasetEntityRecognizerInputDataConfig>,SdkPojo
- Enclosing class:
- DatasetEntityRecognizerInputDataConfig
public static interface DatasetEntityRecognizerInputDataConfig.Builder extends SdkPojo, CopyableBuilder<DatasetEntityRecognizerInputDataConfig.Builder,DatasetEntityRecognizerInputDataConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DatasetEntityRecognizerInputDataConfig.Builderannotations(Consumer<DatasetEntityRecognizerAnnotations.Builder> annotations)The S3 location of the annotation documents for your custom entity recognizer.DatasetEntityRecognizerInputDataConfig.Builderannotations(DatasetEntityRecognizerAnnotations annotations)The S3 location of the annotation documents for your custom entity recognizer.default DatasetEntityRecognizerInputDataConfig.Builderdocuments(Consumer<DatasetEntityRecognizerDocuments.Builder> documents)The format and location of the training documents for your custom entity recognizer.DatasetEntityRecognizerInputDataConfig.Builderdocuments(DatasetEntityRecognizerDocuments documents)The format and location of the training documents for your custom entity recognizer.default DatasetEntityRecognizerInputDataConfig.BuilderentityList(Consumer<DatasetEntityRecognizerEntityList.Builder> entityList)The S3 location of the entity list for your custom entity recognizer.DatasetEntityRecognizerInputDataConfig.BuilderentityList(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 Detail
-
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.Builderavoiding the need to create one manually viaDatasetEntityRecognizerAnnotations.builder().When the
Consumercompletes,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:
annotations(DatasetEntityRecognizerAnnotations)
-
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.Builderavoiding the need to create one manually viaDatasetEntityRecognizerDocuments.builder().When the
Consumercompletes,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:
documents(DatasetEntityRecognizerDocuments)
-
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.Builderavoiding the need to create one manually viaDatasetEntityRecognizerEntityList.builder().When the
Consumercompletes,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:
entityList(DatasetEntityRecognizerEntityList)
-
-