@Generated(value="software.amazon.awssdk:codegen") public final class DatasetImportJobSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DatasetImportJobSummary.Builder,DatasetImportJobSummary>
Provides a summary of the dataset import job properties used in the ListDatasetImportJobs
operation. To get the complete set of properties, call the DescribeDatasetImportJob
operation, and provide the DatasetImportJobArn.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DatasetImportJobSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DatasetImportJobSummary.Builder |
builder() |
Instant |
creationTime()
When the dataset import job was created.
|
String |
datasetImportJobArn()
The Amazon Resource Name (ARN) of the dataset import job.
|
String |
datasetImportJobName()
The name of the dataset import job.
|
DataSource |
dataSource()
The location of the training data to import and an Identity and Access Management (IAM) role that Amazon Forecast
can assume to access the data.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ImportMode |
importMode()
The import mode of the dataset import job, FULL or INCREMENTAL.
|
String |
importModeAsString()
The import mode of the dataset import job, FULL or INCREMENTAL.
|
Instant |
lastModificationTime()
The last time the resource was modified.
|
String |
message()
If an error occurred, an informational message about the error.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DatasetImportJobSummary.Builder> |
serializableBuilderClass() |
String |
status()
The status of the dataset import job.
|
DatasetImportJobSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String datasetImportJobArn()
The Amazon Resource Name (ARN) of the dataset import job.
public final String datasetImportJobName()
The name of the dataset import job.
public final DataSource dataSource()
The location of the training data to import and an Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data. The training data must be stored in an Amazon S3 bucket.
If encryption is used, DataSource includes an Key Management Service (KMS) key.
If encryption is used, DataSource includes an Key Management Service (KMS) key.
public final String status()
The status of the dataset import job. States include:
ACTIVE
CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED
DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED
CREATE_STOPPING, CREATE_STOPPED
ACTIVE
CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED
DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED
CREATE_STOPPING, CREATE_STOPPED
public final String message()
If an error occurred, an informational message about the error.
public final Instant creationTime()
When the dataset import job was created.
public final Instant lastModificationTime()
The last time the resource was modified. The timestamp depends on the status of the job:
CREATE_PENDING - The CreationTime.
CREATE_IN_PROGRESS - The current timestamp.
CREATE_STOPPING - The current timestamp.
CREATE_STOPPED - When the job stopped.
ACTIVE or CREATE_FAILED - When the job finished or failed.
CREATE_PENDING - The CreationTime.
CREATE_IN_PROGRESS - The current timestamp.
CREATE_STOPPING - The current timestamp.
CREATE_STOPPED - When the job stopped.
ACTIVE or CREATE_FAILED - When the job finished or failed.
public final ImportMode importMode()
The import mode of the dataset import job, FULL or INCREMENTAL.
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 of the dataset import job, FULL or INCREMENTAL.
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 DatasetImportJobSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DatasetImportJobSummary.Builder,DatasetImportJobSummary>public static DatasetImportJobSummary.Builder builder()
public static Class<? extends DatasetImportJobSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.