Interface DatasetInputDataConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DatasetInputDataConfig.Builder,DatasetInputDataConfig>,SdkBuilder<DatasetInputDataConfig.Builder,DatasetInputDataConfig>,SdkPojo
- Enclosing class:
- DatasetInputDataConfig
public static interface DatasetInputDataConfig.Builder extends SdkPojo, CopyableBuilder<DatasetInputDataConfig.Builder,DatasetInputDataConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DatasetInputDataConfig.BuilderaugmentedManifests(Collection<DatasetAugmentedManifestsListItem> augmentedManifests)A list of augmented manifest files that provide training data for your custom model.DatasetInputDataConfig.BuilderaugmentedManifests(Consumer<DatasetAugmentedManifestsListItem.Builder>... augmentedManifests)A list of augmented manifest files that provide training data for your custom model.DatasetInputDataConfig.BuilderaugmentedManifests(DatasetAugmentedManifestsListItem... augmentedManifests)A list of augmented manifest files that provide training data for your custom model.DatasetInputDataConfig.BuilderdataFormat(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.DatasetInputDataConfig.BuilderdataFormat(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.DatasetInputDataConfig.BuilderdocumentClassifierInputDataConfig(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.DatasetInputDataConfig.BuilderentityRecognizerInputDataConfig(DatasetEntityRecognizerInputDataConfig entityRecognizerInputDataConfig)The input properties for training an entity recognizer model.-
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
-
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 to#augmentedManifests(List.) - 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:
#augmentedManifests(java.util.Collection)
-
dataFormat
DatasetInputDataConfig.Builder 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.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:
DatasetDataFormat,DatasetDataFormat
-
dataFormat
DatasetInputDataConfig.Builder 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.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:
DatasetDataFormat,DatasetDataFormat
-
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:
documentClassifierInputDataConfig(DatasetDocumentClassifierInputDataConfig)
-
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:
entityRecognizerInputDataConfig(DatasetEntityRecognizerInputDataConfig)
-
-