Interface CreateDatasetImportJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateDatasetImportJobRequest.Builder,
,CreateDatasetImportJobRequest> PersonalizeRequest.Builder
,SdkBuilder<CreateDatasetImportJobRequest.Builder,
,CreateDatasetImportJobRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateDatasetImportJobRequest
-
Method Summary
Modifier and TypeMethodDescriptiondatasetArn
(String datasetArn) The ARN of the dataset that receives the imported data.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.importMode
(String importMode) Specify how to add the new records to an existing dataset.importMode
(ImportMode importMode) Specify how to add the new records to an existing dataset.The name for the dataset import job.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.publishAttributionMetricsToS3
(Boolean publishAttributionMetricsToS3) If you created a metric attribution, specify whether to publish metrics for this import job to Amazon S3The ARN of the IAM role that has permissions to read from the Amazon S3 data source.tags
(Collection<Tag> tags) A list of tags to apply to the dataset import job.tags
(Consumer<Tag.Builder>... tags) A list of tags to apply to the dataset import job.A list of tags to apply to the dataset import job.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.personalize.model.PersonalizeRequest.Builder
build
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 for the dataset import job.
- Parameters:
jobName
- The name for the dataset import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetArn
The ARN of the dataset that receives the imported data.
- Parameters:
datasetArn
- The 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.
-
tags
A list of tags to apply to the dataset import job.
- Parameters:
tags
- A list of tags to apply to the dataset import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to apply to the dataset import job.
- Parameters:
tags
- A list of tags to apply to the dataset import job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags to apply to the dataset import job.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
importMode
Specify how to add the new records to an existing dataset. The default import mode is
FULL
. If you haven't imported bulk records into the dataset previously, you can only specifyFULL
.-
Specify
FULL
to overwrite all existing bulk data in your dataset. Data you imported individually is not replaced. -
Specify
INCREMENTAL
to append the new records to the existing data in your dataset. Amazon Personalize replaces any record with the same ID with the new one.
- Parameters:
importMode
- Specify how to add the new records to an existing dataset. The default import mode isFULL
. If you haven't imported bulk records into the dataset previously, you can only specifyFULL
.-
Specify
FULL
to overwrite all existing bulk data in your dataset. Data you imported individually is not replaced. -
Specify
INCREMENTAL
to append the new records to the existing data in your dataset. Amazon Personalize replaces any record with the same ID with the new one.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
importMode
Specify how to add the new records to an existing dataset. The default import mode is
FULL
. If you haven't imported bulk records into the dataset previously, you can only specifyFULL
.-
Specify
FULL
to overwrite all existing bulk data in your dataset. Data you imported individually is not replaced. -
Specify
INCREMENTAL
to append the new records to the existing data in your dataset. Amazon Personalize replaces any record with the same ID with the new one.
- Parameters:
importMode
- Specify how to add the new records to an existing dataset. The default import mode isFULL
. If you haven't imported bulk records into the dataset previously, you can only specifyFULL
.-
Specify
FULL
to overwrite all existing bulk data in your dataset. Data you imported individually is not replaced. -
Specify
INCREMENTAL
to append the new records to the existing data in your dataset. Amazon Personalize replaces any record with the same ID with the new one.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
publishAttributionMetricsToS3
CreateDatasetImportJobRequest.Builder publishAttributionMetricsToS3(Boolean publishAttributionMetricsToS3) If you created a metric attribution, specify whether to publish metrics for this import job to Amazon S3
- Parameters:
publishAttributionMetricsToS3
- If you created a metric attribution, specify whether to publish metrics for this import job to Amazon S3- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDatasetImportJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateDatasetImportJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-