Class DatasetImportJob
- All Implemented Interfaces:
Serializable,SdkPojo,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
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic DatasetImportJob.Builderbuilder()final InstantThe creation date and time (in Unix time) of the dataset import job.final StringThe Amazon Resource Name (ARN) of the dataset that receives the imported data.final StringThe ARN of the dataset import job.final DataSourceThe Amazon S3 bucket that contains the training data to import.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringIf a dataset import job fails, provides the reason why.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final ImportModeThe import mode used by the dataset import job to import new records.final StringThe import mode used by the dataset import job to import new records.final StringjobName()The name of the import job.final InstantThe date and time (in Unix time) the dataset was last updated.final BooleanWhether the job publishes metrics to Amazon S3 for a metric attribution.final StringroleArn()The ARN of the IAM role that has permissions to read from the Amazon S3 data source.static Class<? extends DatasetImportJob.Builder> final Stringstatus()The status of the dataset ACTIVE -or- CREATE FAILEDTake this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
jobName
-
datasetImportJobArn
The ARN of the dataset import job.
- Returns:
- The ARN of the dataset import job.
-
datasetArn
The Amazon Resource Name (ARN) of the dataset that receives the imported data.
- Returns:
- The Amazon Resource Name (ARN) of the dataset that receives the imported data.
-
dataSource
The Amazon S3 bucket that contains the training data to import.
- Returns:
- The Amazon S3 bucket that contains the training data to import.
-
roleArn
The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
- Returns:
- The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
-
status
The status of the dataset ACTIVE -or- CREATE FAILED
- Returns:
- The status of the dataset import job.
A dataset import job can be in one of the following states:
-
CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED
-
-
creationDateTime
The creation date and time (in Unix time) of the dataset import job.
- Returns:
- The creation date and time (in Unix time) of the dataset import job.
-
lastUpdatedDateTime
The date and time (in Unix time) the dataset was last updated.
- Returns:
- The date and time (in Unix time) the dataset was last updated.
-
failureReason
If a dataset import job fails, provides the reason why.
- Returns:
- If a dataset import job fails, provides the reason why.
-
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,
importModewill returnImportMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromimportModeAsString().- Returns:
- The import mode used by the dataset import job to import new records.
- See Also:
-
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,
importModewill returnImportMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromimportModeAsString().- Returns:
- The import mode used by the dataset import job to import new records.
- See Also:
-
publishAttributionMetricsToS3
Whether the job publishes metrics to Amazon S3 for a metric attribution.
- Returns:
- Whether the job publishes metrics to Amazon S3 for a metric attribution.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DatasetImportJob.Builder,DatasetImportJob> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-