public static interface DatasetImportJob.Builder extends SdkPojo, CopyableBuilder<DatasetImportJob.Builder,DatasetImportJob>
| Modifier and Type | Method and Description |
|---|---|
DatasetImportJob.Builder |
creationDateTime(Instant creationDateTime)
The creation date and time (in Unix time) of the dataset import job.
|
DatasetImportJob.Builder |
datasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the dataset that receives the imported data.
|
DatasetImportJob.Builder |
datasetImportJobArn(String datasetImportJobArn)
The ARN of the dataset import job.
|
default DatasetImportJob.Builder |
dataSource(Consumer<DataSource.Builder> dataSource)
The Amazon S3 bucket that contains the training data to import.
|
DatasetImportJob.Builder |
dataSource(DataSource dataSource)
The Amazon S3 bucket that contains the training data to import.
|
DatasetImportJob.Builder |
failureReason(String failureReason)
If a dataset import job fails, provides the reason why.
|
DatasetImportJob.Builder |
importMode(ImportMode importMode)
The import mode used by the dataset import job to import new records.
|
DatasetImportJob.Builder |
importMode(String importMode)
The import mode used by the dataset import job to import new records.
|
DatasetImportJob.Builder |
jobName(String jobName)
The name of the import job.
|
DatasetImportJob.Builder |
lastUpdatedDateTime(Instant lastUpdatedDateTime)
The date and time (in Unix time) the dataset was last updated.
|
DatasetImportJob.Builder |
publishAttributionMetricsToS3(Boolean publishAttributionMetricsToS3)
Whether the job publishes metrics to Amazon S3 for a metric attribution.
|
DatasetImportJob.Builder |
roleArn(String roleArn)
The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
|
DatasetImportJob.Builder |
status(String status)
The status of the dataset import job.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDatasetImportJob.Builder jobName(String jobName)
The name of the import job.
jobName - The name of the import job.DatasetImportJob.Builder datasetImportJobArn(String datasetImportJobArn)
The ARN of the dataset import job.
datasetImportJobArn - The ARN of the dataset import job.DatasetImportJob.Builder datasetArn(String datasetArn)
The Amazon Resource Name (ARN) of the dataset that receives the imported data.
datasetArn - The Amazon Resource Name (ARN) of the dataset that receives the imported data.DatasetImportJob.Builder dataSource(DataSource dataSource)
The Amazon S3 bucket that contains the training data to import.
dataSource - The Amazon S3 bucket that contains the training data to import.default DatasetImportJob.Builder dataSource(Consumer<DataSource.Builder> dataSource)
The Amazon S3 bucket that contains the training data to import.
This is a convenience method that creates an instance of theDataSource.Builder avoiding the need to
create one manually via DataSource.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to dataSource(DataSource).
dataSource - a consumer that will call methods on DataSource.BuilderdataSource(DataSource)DatasetImportJob.Builder roleArn(String roleArn)
The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
roleArn - The ARN of the IAM role that has permissions to read from the Amazon S3 data source.DatasetImportJob.Builder status(String status)
The status of the dataset import job.
A dataset import job can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
status - The status of the dataset import job.
A dataset import job can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
DatasetImportJob.Builder creationDateTime(Instant creationDateTime)
The creation date and time (in Unix time) of the dataset import job.
creationDateTime - The creation date and time (in Unix time) of the dataset import job.DatasetImportJob.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)
The date and time (in Unix time) the dataset was last updated.
lastUpdatedDateTime - The date and time (in Unix time) the dataset was last updated.DatasetImportJob.Builder failureReason(String failureReason)
If a dataset import job fails, provides the reason why.
failureReason - If a dataset import job fails, provides the reason why.DatasetImportJob.Builder importMode(String importMode)
The import mode used by the dataset import job to import new records.
importMode - The import mode used by the dataset import job to import new records.ImportMode,
ImportModeDatasetImportJob.Builder importMode(ImportMode importMode)
The import mode used by the dataset import job to import new records.
importMode - The import mode used by the dataset import job to import new records.ImportMode,
ImportModeDatasetImportJob.Builder publishAttributionMetricsToS3(Boolean publishAttributionMetricsToS3)
Whether the job publishes metrics to Amazon S3 for a metric attribution.
publishAttributionMetricsToS3 - Whether the job publishes metrics to Amazon S3 for a metric attribution.Copyright © 2022. All rights reserved.