Interface CreateDatasetImportJobRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDatasetImportJobRequest.Builder,CreateDatasetImportJobRequest>,PersonalizeRequest.Builder,SdkBuilder<CreateDatasetImportJobRequest.Builder,CreateDatasetImportJobRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateDatasetImportJobRequest
public static interface CreateDatasetImportJobRequest.Builder extends PersonalizeRequest.Builder, SdkPojo, CopyableBuilder<CreateDatasetImportJobRequest.Builder,CreateDatasetImportJobRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateDatasetImportJobRequest.BuilderdatasetArn(String datasetArn)The ARN of the dataset that receives the imported data.default CreateDatasetImportJobRequest.BuilderdataSource(Consumer<DataSource.Builder> dataSource)The Amazon S3 bucket that contains the training data to import.CreateDatasetImportJobRequest.BuilderdataSource(DataSource dataSource)The Amazon S3 bucket that contains the training data to import.CreateDatasetImportJobRequest.BuilderimportMode(String importMode)Specify how to add the new records to an existing dataset.CreateDatasetImportJobRequest.BuilderimportMode(ImportMode importMode)Specify how to add the new records to an existing dataset.CreateDatasetImportJobRequest.BuilderjobName(String jobName)The name for the dataset import job.CreateDatasetImportJobRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateDatasetImportJobRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateDatasetImportJobRequest.BuilderpublishAttributionMetricsToS3(Boolean publishAttributionMetricsToS3)If you created a metric attribution, specify whether to publish metrics for this import job to Amazon S3CreateDatasetImportJobRequest.BuilderroleArn(String roleArn)The ARN of the IAM role that has permissions to read from the Amazon S3 data source.CreateDatasetImportJobRequest.Buildertags(Collection<Tag> tags)A list of tags to apply to the dataset import job.CreateDatasetImportJobRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of tags to apply to the dataset import job.CreateDatasetImportJobRequest.Buildertags(Tag... tags)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
jobName
CreateDatasetImportJobRequest.Builder jobName(String 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
CreateDatasetImportJobRequest.Builder datasetArn(String 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
CreateDatasetImportJobRequest.Builder dataSource(DataSource 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
default CreateDatasetImportJobRequest.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.Builderavoiding the need to create one manually viaDataSource.builder().When the
Consumercompletes,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:
dataSource(DataSource)
-
roleArn
CreateDatasetImportJobRequest.Builder roleArn(String 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
CreateDatasetImportJobRequest.Builder tags(Collection<Tag> 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
CreateDatasetImportJobRequest.Builder tags(Tag... 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
CreateDatasetImportJobRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags to apply to the dataset import job.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
importMode
CreateDatasetImportJobRequest.Builder importMode(String 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
FULLto overwrite all existing bulk data in your dataset. Data you imported individually is not replaced. -
Specify
INCREMENTALto 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
FULLto overwrite all existing bulk data in your dataset. Data you imported individually is not replaced. -
Specify
INCREMENTALto 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,ImportMode
-
-
importMode
CreateDatasetImportJobRequest.Builder importMode(ImportMode 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
FULLto overwrite all existing bulk data in your dataset. Data you imported individually is not replaced. -
Specify
INCREMENTALto 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
FULLto overwrite all existing bulk data in your dataset. Data you imported individually is not replaced. -
Specify
INCREMENTALto 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,ImportMode
-
-
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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDatasetImportJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-