Class DatasetImportJobSummary
- java.lang.Object
-
- software.amazon.awssdk.services.forecast.model.DatasetImportJobSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DatasetImportJobSummary.Builder,DatasetImportJobSummary>
@Generated("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.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDatasetImportJobSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatasetImportJobSummary.Builderbuilder()InstantcreationTime()When the dataset import job was created.StringdatasetImportJobArn()The Amazon Resource Name (ARN) of the dataset import job.StringdatasetImportJobName()The name of the dataset import job.DataSourcedataSource()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.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ImportModeimportMode()The import mode of the dataset import job, FULL or INCREMENTAL.StringimportModeAsString()The import mode of the dataset import job, FULL or INCREMENTAL.InstantlastModificationTime()The last time the resource was modified.Stringmessage()If an error occurred, an informational message about the error.List<SdkField<?>>sdkFields()static Class<? extends DatasetImportJobSummary.Builder>serializableBuilderClass()Stringstatus()The status of the dataset import job.DatasetImportJobSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
datasetImportJobArn
public final String datasetImportJobArn()
The Amazon Resource Name (ARN) of the dataset import job.
- Returns:
- The Amazon Resource Name (ARN) of the dataset import job.
-
datasetImportJobName
public final String datasetImportJobName()
The name of the dataset import job.
- Returns:
- The name of the dataset import job.
-
dataSource
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,
DataSourceincludes an Key Management Service (KMS) key.- Returns:
- 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,
DataSourceincludes an Key Management Service (KMS) key.
-
status
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
- Returns:
- 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
-
-
-
message
public final String message()
If an error occurred, an informational message about the error.
- Returns:
- If an error occurred, an informational message about the error.
-
creationTime
public final Instant creationTime()
When the dataset import job was created.
- Returns:
- When the dataset import job was created.
-
lastModificationTime
public final Instant lastModificationTime()
The last time the resource was modified. The timestamp depends on the status of the job:
-
CREATE_PENDING- TheCreationTime. -
CREATE_IN_PROGRESS- The current timestamp. -
CREATE_STOPPING- The current timestamp. -
CREATE_STOPPED- When the job stopped. -
ACTIVEorCREATE_FAILED- When the job finished or failed.
- Returns:
- The last time the resource was modified. The timestamp depends on the status of the job:
-
CREATE_PENDING- TheCreationTime. -
CREATE_IN_PROGRESS- The current timestamp. -
CREATE_STOPPING- The current timestamp. -
CREATE_STOPPED- When the job stopped. -
ACTIVEorCREATE_FAILED- When the job finished or failed.
-
-
-
importMode
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,
importModewill returnImportMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromimportModeAsString().- Returns:
- The import mode of the dataset import job, FULL or INCREMENTAL.
- See Also:
ImportMode
-
importModeAsString
public 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,
importModewill returnImportMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromimportModeAsString().- Returns:
- The import mode of the dataset import job, FULL or INCREMENTAL.
- See Also:
ImportMode
-
toBuilder
public DatasetImportJobSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DatasetImportJobSummary.Builder,DatasetImportJobSummary>
-
builder
public static DatasetImportJobSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends DatasetImportJobSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-