Interface DatasetImportJob.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DatasetImportJob.Builder,
,DatasetImportJob> SdkBuilder<DatasetImportJob.Builder,
,DatasetImportJob> SdkPojo
- Enclosing class:
DatasetImportJob
-
Method Summary
Modifier and TypeMethodDescriptioncreationDateTime
(Instant creationDateTime) The creation date and time (in Unix time) of the dataset import job.datasetArn
(String datasetArn) The Amazon Resource Name (ARN) of the dataset that receives the imported data.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.dataSource
(DataSource dataSource) The Amazon S3 bucket that contains the training data to import.failureReason
(String failureReason) If a dataset import job fails, provides the reason why.importMode
(String importMode) The import mode used by the dataset import job to import new records.importMode
(ImportMode importMode) The import mode used by the dataset import job to import new records.The name of the import job.lastUpdatedDateTime
(Instant lastUpdatedDateTime) The date and time (in Unix time) the dataset was last updated.publishAttributionMetricsToS3
(Boolean publishAttributionMetricsToS3) Whether the job publishes metrics to Amazon S3 for a metric attribution.The ARN of the IAM role that has permissions to read from the Amazon S3 data source.The status of the dataset import job.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 Details
-
jobName
The name of the import job.
- Parameters:
jobName
- The name of the import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetImportJobArn
The ARN of the dataset import job.
- Parameters:
datasetImportJobArn
- The ARN of the dataset import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetArn
The Amazon Resource Name (ARN) of the dataset that receives the imported data.
- Parameters:
datasetArn
- The Amazon Resource Name (ARN) of the dataset that receives the imported data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSource
The Amazon S3 bucket that contains the training data to import.
- Parameters:
dataSource
- The Amazon S3 bucket that contains the training data to import.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaDataSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataSource(DataSource)
.- Parameters:
dataSource
- a consumer that will call methods onDataSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
- Parameters:
roleArn
- The ARN of the IAM role that has permissions to read from the Amazon S3 data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
- Parameters:
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
creationDateTime
The creation date and time (in Unix time) of the dataset import job.
- Parameters:
creationDateTime
- The creation date and time (in Unix time) of the dataset import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedDateTime
The date and time (in Unix time) the dataset was last updated.
- Parameters:
lastUpdatedDateTime
- The date and time (in Unix time) the dataset was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
If a dataset import job fails, provides the reason why.
- Parameters:
failureReason
- If a dataset import job fails, provides the reason why.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
importMode
The import mode used by the dataset import job to import new records.
- Parameters:
importMode
- The import mode used by the dataset import job to import new records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
importMode
The import mode used by the dataset import job to import new records.
- Parameters:
importMode
- The import mode used by the dataset import job to import new records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
publishAttributionMetricsToS3
Whether the job publishes metrics to Amazon S3 for a metric attribution.
- Parameters:
publishAttributionMetricsToS3
- Whether the job publishes metrics to Amazon S3 for a metric attribution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-