@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() |
String |
jobName()
The name of the import job.
|
Instant |
lastUpdatedDateTime()
The date and time (in Unix time) the dataset was last updated.
|
String |
roleArn()
The ARN of the AWS Identity and Access Management (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 String jobName()
The name of the import job.
public String datasetImportJobArn()
The ARN of the dataset import job.
public String datasetArn()
The Amazon Resource Name (ARN) of the dataset that receives the imported data.
public DataSource dataSource()
The Amazon S3 bucket that contains the training data to import.
public String roleArn()
The ARN of the AWS Identity and Access Management (IAM) role that has permissions to read from the Amazon S3 data source.
public 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 Instant creationDateTime()
The creation date and time (in Unix time) of the dataset import job.
public Instant lastUpdatedDateTime()
The date and time (in Unix time) the dataset was last updated.
public String failureReason()
If a dataset import job fails, provides the reason why.
public DatasetImportJob.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DatasetImportJob.Builder,DatasetImportJob>public static DatasetImportJob.Builder builder()
public static Class<? extends DatasetImportJob.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.