Interface DatasetInputDataConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DatasetInputDataConfig.Builder,,DatasetInputDataConfig> SdkBuilder<DatasetInputDataConfig.Builder,,DatasetInputDataConfig> SdkPojo
- Enclosing class:
DatasetInputDataConfig
-
Method Summary
Modifier and TypeMethodDescriptionaugmentedManifests(Collection<DatasetAugmentedManifestsListItem> augmentedManifests) A list of augmented manifest files that provide training data for your custom model.augmentedManifests(Consumer<DatasetAugmentedManifestsListItem.Builder>... augmentedManifests) A list of augmented manifest files that provide training data for your custom model.augmentedManifests(DatasetAugmentedManifestsListItem... augmentedManifests) A list of augmented manifest files that provide training data for your custom model.dataFormat(String dataFormat) COMPREHEND_CSV: The data format is a two-column CSV file, where the first column contains labels and the second column contains documents.dataFormat(DatasetDataFormat dataFormat) COMPREHEND_CSV: The data format is a two-column CSV file, where the first column contains labels and the second column contains documents.default DatasetInputDataConfig.BuilderdocumentClassifierInputDataConfig(Consumer<DatasetDocumentClassifierInputDataConfig.Builder> documentClassifierInputDataConfig) The input properties for training a document classifier model.documentClassifierInputDataConfig(DatasetDocumentClassifierInputDataConfig documentClassifierInputDataConfig) The input properties for training a document classifier model.default DatasetInputDataConfig.BuilderentityRecognizerInputDataConfig(Consumer<DatasetEntityRecognizerInputDataConfig.Builder> entityRecognizerInputDataConfig) The input properties for training an entity recognizer model.entityRecognizerInputDataConfig(DatasetEntityRecognizerInputDataConfig entityRecognizerInputDataConfig) The input properties for training an entity recognizer model.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
augmentedManifests
DatasetInputDataConfig.Builder augmentedManifests(Collection<DatasetAugmentedManifestsListItem> augmentedManifests) A list of augmented manifest files that provide training data for your custom model. An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.
- Parameters:
augmentedManifests- A list of augmented manifest files that provide training data for your custom model. An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
augmentedManifests
DatasetInputDataConfig.Builder augmentedManifests(DatasetAugmentedManifestsListItem... augmentedManifests) A list of augmented manifest files that provide training data for your custom model. An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.
- Parameters:
augmentedManifests- A list of augmented manifest files that provide training data for your custom model. An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
augmentedManifests
DatasetInputDataConfig.Builder augmentedManifests(Consumer<DatasetAugmentedManifestsListItem.Builder>... augmentedManifests) A list of augmented manifest files that provide training data for your custom model. An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.
This is a convenience method that creates an instance of theDatasetAugmentedManifestsListItem.Builderavoiding the need to create one manually viaDatasetAugmentedManifestsListItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaugmentedManifests(List<DatasetAugmentedManifestsListItem>).- Parameters:
augmentedManifests- a consumer that will call methods onDatasetAugmentedManifestsListItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataFormat
COMPREHEND_CSV: The data format is a two-column CSV file, where the first column contains labels and the second column contains documents.AUGMENTED_MANIFEST: The data format- Parameters:
dataFormat-COMPREHEND_CSV: The data format is a two-column CSV file, where the first column contains labels and the second column contains documents.AUGMENTED_MANIFEST: The data format- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataFormat
COMPREHEND_CSV: The data format is a two-column CSV file, where the first column contains labels and the second column contains documents.AUGMENTED_MANIFEST: The data format- Parameters:
dataFormat-COMPREHEND_CSV: The data format is a two-column CSV file, where the first column contains labels and the second column contains documents.AUGMENTED_MANIFEST: The data format- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documentClassifierInputDataConfig
DatasetInputDataConfig.Builder documentClassifierInputDataConfig(DatasetDocumentClassifierInputDataConfig documentClassifierInputDataConfig) The input properties for training a document classifier model.
For more information on how the input file is formatted, see Preparing training data in the Comprehend Developer Guide.
- Parameters:
documentClassifierInputDataConfig- The input properties for training a document classifier model.For more information on how the input file is formatted, see Preparing training data in the Comprehend Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentClassifierInputDataConfig
default DatasetInputDataConfig.Builder documentClassifierInputDataConfig(Consumer<DatasetDocumentClassifierInputDataConfig.Builder> documentClassifierInputDataConfig) The input properties for training a document classifier model.
For more information on how the input file is formatted, see Preparing training data in the Comprehend Developer Guide.
This is a convenience method that creates an instance of theDatasetDocumentClassifierInputDataConfig.Builderavoiding the need to create one manually viaDatasetDocumentClassifierInputDataConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todocumentClassifierInputDataConfig(DatasetDocumentClassifierInputDataConfig).- Parameters:
documentClassifierInputDataConfig- a consumer that will call methods onDatasetDocumentClassifierInputDataConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
entityRecognizerInputDataConfig
DatasetInputDataConfig.Builder entityRecognizerInputDataConfig(DatasetEntityRecognizerInputDataConfig entityRecognizerInputDataConfig) The input properties for training an entity recognizer model.
- Parameters:
entityRecognizerInputDataConfig- The input properties for training an entity recognizer model.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityRecognizerInputDataConfig
default DatasetInputDataConfig.Builder entityRecognizerInputDataConfig(Consumer<DatasetEntityRecognizerInputDataConfig.Builder> entityRecognizerInputDataConfig) The input properties for training an entity recognizer model.
This is a convenience method that creates an instance of theDatasetEntityRecognizerInputDataConfig.Builderavoiding the need to create one manually viaDatasetEntityRecognizerInputDataConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toentityRecognizerInputDataConfig(DatasetEntityRecognizerInputDataConfig).- Parameters:
entityRecognizerInputDataConfig- a consumer that will call methods onDatasetEntityRecognizerInputDataConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-