@Generated(value="software.amazon.awssdk:codegen") public final class DatasetImportJob extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DatasetImportJob.Builder,DatasetImportJob>
Describes a job that imports training data from a data source (Amazon S3 bucket) to an Amazon Personalize dataset. For more information, see CreateDatasetImportJob.
A dataset ACTIVE -or- CREATE FAILED
| Modifier and Type | Class and Description |
|---|---|
static interface |
DatasetImportJob.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DatasetImportJob.Builder |
builder() |
Instant |
creationDateTime()
The creation date and time (in Unix time) of the dataset import job.
|
String |
datasetArn()
The Amazon Resource Name (ARN) of the dataset that receives the imported data.
|
String |
datasetImportJobArn()
The ARN of the dataset import job.
|
DataSource |
dataSource()
The Amazon S3 bucket that contains the training data to import.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
failureReason()
If a dataset import job fails, provides the reason why.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ImportMode |
importMode()
The import mode used by the dataset import job to import new records.
|
String |
importModeAsString()
The import mode used by the dataset import job to import new records.
|
String |
jobName()
The name of the import job.
|
Instant |
lastUpdatedDateTime()
The date and time (in Unix time) the dataset was last updated.
|
Boolean |
publishAttributionMetricsToS3()
Whether the job publishes metrics to Amazon S3 for a metric attribution.
|
String |
roleArn()
The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DatasetImportJob.Builder> |
serializableBuilderClass() |
String |
status()
The status of the dataset ACTIVE -or- CREATE FAILED
|
DatasetImportJob.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String jobName()
The name of the import job.
public final String datasetImportJobArn()
The ARN of the dataset import job.
public final String datasetArn()
The Amazon Resource Name (ARN) of the dataset that receives the imported data.
public final DataSource dataSource()
The Amazon S3 bucket that contains the training data to import.
public final String roleArn()
The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
public final String status()
The status of the dataset ACTIVE -or- CREATE FAILED
A dataset import job can be in one of the following states:
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
public final Instant creationDateTime()
The creation date and time (in Unix time) of the dataset import job.
public final Instant lastUpdatedDateTime()
The date and time (in Unix time) the dataset was last updated.
public final String failureReason()
If a dataset import job fails, provides the reason why.
public final ImportMode importMode()
The import mode used by the dataset import job to import new records.
If the service returns an enum value that is not available in the current SDK version, importMode will
return ImportMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
importModeAsString().
ImportModepublic final String importModeAsString()
The import mode used by the dataset import job to import new records.
If the service returns an enum value that is not available in the current SDK version, importMode will
return ImportMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
importModeAsString().
ImportModepublic final Boolean publishAttributionMetricsToS3()
Whether the job publishes metrics to Amazon S3 for a metric attribution.
public DatasetImportJob.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DatasetImportJob.Builder,DatasetImportJob>public static DatasetImportJob.Builder builder()
public static Class<? extends DatasetImportJob.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.