public static interface CreateDatasetRequest.Builder extends RekognitionRequest.Builder, SdkPojo, CopyableBuilder<CreateDatasetRequest.Builder,CreateDatasetRequest>
| Modifier and Type | Method and Description |
|---|---|
default CreateDatasetRequest.Builder |
datasetSource(Consumer<DatasetSource.Builder> datasetSource)
The source files for the dataset.
|
CreateDatasetRequest.Builder |
datasetSource(DatasetSource datasetSource)
The source files for the dataset.
|
CreateDatasetRequest.Builder |
datasetType(DatasetType datasetType)
The type of the dataset.
|
CreateDatasetRequest.Builder |
datasetType(String datasetType)
The type of the dataset.
|
CreateDatasetRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateDatasetRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateDatasetRequest.Builder |
projectArn(String projectArn)
The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateDatasetRequest.Builder datasetSource(DatasetSource datasetSource)
The source files for the dataset. You can specify the ARN of an existing dataset or specify the Amazon S3
bucket location of an Amazon Sagemaker format manifest file. If you don't specify datasetSource,
an empty dataset is created. To add labeled images to the dataset, You can use the console or call
UpdateDatasetEntries.
datasetSource - The source files for the dataset. You can specify the ARN of an existing dataset or specify the Amazon
S3 bucket location of an Amazon Sagemaker format manifest file. If you don't specify
datasetSource, an empty dataset is created. To add labeled images to the dataset, You can
use the console or call UpdateDatasetEntries.default CreateDatasetRequest.Builder datasetSource(Consumer<DatasetSource.Builder> datasetSource)
The source files for the dataset. You can specify the ARN of an existing dataset or specify the Amazon S3
bucket location of an Amazon Sagemaker format manifest file. If you don't specify datasetSource,
an empty dataset is created. To add labeled images to the dataset, You can use the console or call
UpdateDatasetEntries.
DatasetSource.Builder avoiding the need
to create one manually via DatasetSource.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to datasetSource(DatasetSource).
datasetSource - a consumer that will call methods on DatasetSource.BuilderdatasetSource(DatasetSource)CreateDatasetRequest.Builder datasetType(String datasetType)
The type of the dataset. Specify train to create a training dataset. Specify test
to create a test dataset.
datasetType - The type of the dataset. Specify train to create a training dataset. Specify
test to create a test dataset.DatasetType,
DatasetTypeCreateDatasetRequest.Builder datasetType(DatasetType datasetType)
The type of the dataset. Specify train to create a training dataset. Specify test
to create a test dataset.
datasetType - The type of the dataset. Specify train to create a training dataset. Specify
test to create a test dataset.DatasetType,
DatasetTypeCreateDatasetRequest.Builder projectArn(String projectArn)
The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset.
projectArn - The ARN of the Amazon Rekognition Custom Labels project to which you want to asssign the dataset.CreateDatasetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateDatasetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.