@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDatasetImportJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDatasetImportJobRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDatasetImportJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDatasetArn()
The ARN of the dataset that receives the imported data.
|
DataSource |
getDataSource()
The Amazon S3 bucket that contains the training data to import.
|
String |
getImportMode()
Specify how to add the new records to an existing dataset.
|
String |
getJobName()
The name for the dataset import job.
|
Boolean |
getPublishAttributionMetricsToS3()
If you created a metric attribution, specify whether to publish metrics for this import job to Amazon S3
|
String |
getRoleArn()
The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
|
List<Tag> |
getTags()
A list of tags to apply to
the dataset import job.
|
int |
hashCode() |
Boolean |
isPublishAttributionMetricsToS3()
If you created a metric attribution, specify whether to publish metrics for this import job to Amazon S3
|
void |
setDatasetArn(String datasetArn)
The ARN of the dataset that receives the imported data.
|
void |
setDataSource(DataSource dataSource)
The Amazon S3 bucket that contains the training data to import.
|
void |
setImportMode(String importMode)
Specify how to add the new records to an existing dataset.
|
void |
setJobName(String jobName)
The name for the dataset import job.
|
void |
setPublishAttributionMetricsToS3(Boolean publishAttributionMetricsToS3)
If you created a metric attribution, specify whether to publish metrics for this import job to Amazon S3
|
void |
setRoleArn(String roleArn)
The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
|
void |
setTags(Collection<Tag> tags)
A list of tags to apply to
the dataset import job.
|
String |
toString()
Returns a string representation of this object.
|
CreateDatasetImportJobRequest |
withDatasetArn(String datasetArn)
The ARN of the dataset that receives the imported data.
|
CreateDatasetImportJobRequest |
withDataSource(DataSource dataSource)
The Amazon S3 bucket that contains the training data to import.
|
CreateDatasetImportJobRequest |
withImportMode(ImportMode importMode)
Specify how to add the new records to an existing dataset.
|
CreateDatasetImportJobRequest |
withImportMode(String importMode)
Specify how to add the new records to an existing dataset.
|
CreateDatasetImportJobRequest |
withJobName(String jobName)
The name for the dataset import job.
|
CreateDatasetImportJobRequest |
withPublishAttributionMetricsToS3(Boolean publishAttributionMetricsToS3)
If you created a metric attribution, specify whether to publish metrics for this import job to Amazon S3
|
CreateDatasetImportJobRequest |
withRoleArn(String roleArn)
The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
|
CreateDatasetImportJobRequest |
withTags(Collection<Tag> tags)
A list of tags to apply to
the dataset import job.
|
CreateDatasetImportJobRequest |
withTags(Tag... tags)
A list of tags to apply to
the dataset import job.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setJobName(String jobName)
The name for the dataset import job.
jobName
- The name for the dataset import job.public String getJobName()
The name for the dataset import job.
public CreateDatasetImportJobRequest withJobName(String jobName)
The name for the dataset import job.
jobName
- The name for the dataset import job.public void setDatasetArn(String datasetArn)
The ARN of the dataset that receives the imported data.
datasetArn
- The ARN of the dataset that receives the imported data.public String getDatasetArn()
The ARN of the dataset that receives the imported data.
public CreateDatasetImportJobRequest withDatasetArn(String datasetArn)
The ARN of the dataset that receives the imported data.
datasetArn
- The ARN of the dataset that receives the imported data.public void setDataSource(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.public DataSource getDataSource()
The Amazon S3 bucket that contains the training data to import.
public CreateDatasetImportJobRequest withDataSource(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.public void setRoleArn(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.public String getRoleArn()
The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
public CreateDatasetImportJobRequest withRoleArn(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.public List<Tag> getTags()
A list of tags to apply to the dataset import job.
public void setTags(Collection<Tag> tags)
A list of tags to apply to the dataset import job.
tags
- A list of tags to
apply to the dataset import job.public CreateDatasetImportJobRequest withTags(Tag... tags)
A list of tags to apply to the dataset import job.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of tags to
apply to the dataset import job.public CreateDatasetImportJobRequest withTags(Collection<Tag> tags)
A list of tags to apply to the dataset import job.
tags
- A list of tags to
apply to the dataset import job.public void setImportMode(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 specify FULL
.
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.
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 specify FULL
.
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.
ImportMode
public String getImportMode()
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 specify FULL
.
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.
FULL
.
If you haven't imported bulk records into the dataset previously, you can only specify FULL
.
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.
ImportMode
public CreateDatasetImportJobRequest withImportMode(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 specify FULL
.
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.
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 specify FULL
.
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.
ImportMode
public CreateDatasetImportJobRequest withImportMode(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 specify FULL
.
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.
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 specify FULL
.
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.
ImportMode
public void setPublishAttributionMetricsToS3(Boolean publishAttributionMetricsToS3)
If you created a metric attribution, specify whether to publish metrics for this import job to Amazon S3
publishAttributionMetricsToS3
- If you created a metric attribution, specify whether to publish metrics for this import job to Amazon S3public Boolean getPublishAttributionMetricsToS3()
If you created a metric attribution, specify whether to publish metrics for this import job to Amazon S3
public CreateDatasetImportJobRequest withPublishAttributionMetricsToS3(Boolean publishAttributionMetricsToS3)
If you created a metric attribution, specify whether to publish metrics for this import job to Amazon S3
publishAttributionMetricsToS3
- If you created a metric attribution, specify whether to publish metrics for this import job to Amazon S3public Boolean isPublishAttributionMetricsToS3()
If you created a metric attribution, specify whether to publish metrics for this import job to Amazon S3
public String toString()
toString
in class Object
Object.toString()
public CreateDatasetImportJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()