@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DatasetImportJobSummary extends Object implements Serializable, Cloneable, StructuredPojo
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
.
Constructor and Description |
---|
DatasetImportJobSummary() |
Modifier and Type | Method and Description |
---|---|
DatasetImportJobSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationTime()
When the dataset import job was created.
|
String |
getDatasetImportJobArn()
The Amazon Resource Name (ARN) of the dataset import job.
|
String |
getDatasetImportJobName()
The name of the dataset import job.
|
DataSource |
getDataSource()
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.
|
String |
getImportMode()
The import mode of the dataset import job, FULL or INCREMENTAL.
|
Date |
getLastModificationTime()
The last time the resource was modified.
|
String |
getMessage()
If an error occurred, an informational message about the error.
|
String |
getStatus()
The status of the dataset import job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationTime(Date creationTime)
When the dataset import job was created.
|
void |
setDatasetImportJobArn(String datasetImportJobArn)
The Amazon Resource Name (ARN) of the dataset import job.
|
void |
setDatasetImportJobName(String datasetImportJobName)
The name of the dataset import job.
|
void |
setDataSource(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.
|
void |
setImportMode(String importMode)
The import mode of the dataset import job, FULL or INCREMENTAL.
|
void |
setLastModificationTime(Date lastModificationTime)
The last time the resource was modified.
|
void |
setMessage(String message)
If an error occurred, an informational message about the error.
|
void |
setStatus(String status)
The status of the dataset import job.
|
String |
toString()
Returns a string representation of this object.
|
DatasetImportJobSummary |
withCreationTime(Date creationTime)
When the dataset import job was created.
|
DatasetImportJobSummary |
withDatasetImportJobArn(String datasetImportJobArn)
The Amazon Resource Name (ARN) of the dataset import job.
|
DatasetImportJobSummary |
withDatasetImportJobName(String datasetImportJobName)
The name of the dataset import job.
|
DatasetImportJobSummary |
withDataSource(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.
|
DatasetImportJobSummary |
withImportMode(ImportMode importMode)
The import mode of the dataset import job, FULL or INCREMENTAL.
|
DatasetImportJobSummary |
withImportMode(String importMode)
The import mode of the dataset import job, FULL or INCREMENTAL.
|
DatasetImportJobSummary |
withLastModificationTime(Date lastModificationTime)
The last time the resource was modified.
|
DatasetImportJobSummary |
withMessage(String message)
If an error occurred, an informational message about the error.
|
DatasetImportJobSummary |
withStatus(String status)
The status of the dataset import job.
|
public void setDatasetImportJobArn(String datasetImportJobArn)
The Amazon Resource Name (ARN) of the dataset import job.
datasetImportJobArn
- The Amazon Resource Name (ARN) of the dataset import job.public String getDatasetImportJobArn()
The Amazon Resource Name (ARN) of the dataset import job.
public DatasetImportJobSummary withDatasetImportJobArn(String datasetImportJobArn)
The Amazon Resource Name (ARN) of the dataset import job.
datasetImportJobArn
- The Amazon Resource Name (ARN) of the dataset import job.public void setDatasetImportJobName(String datasetImportJobName)
The name of the dataset import job.
datasetImportJobName
- The name of the dataset import job.public String getDatasetImportJobName()
The name of the dataset import job.
public DatasetImportJobSummary withDatasetImportJobName(String datasetImportJobName)
The name of the dataset import job.
datasetImportJobName
- The name of the dataset import job.public void setDataSource(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.
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.
public DataSource getDataSource()
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 DatasetImportJobSummary withDataSource(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.
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.
public void setStatus(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
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
public String getStatus()
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 DatasetImportJobSummary withStatus(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
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
public void setMessage(String message)
If an error occurred, an informational message about the error.
message
- If an error occurred, an informational message about the error.public String getMessage()
If an error occurred, an informational message about the error.
public DatasetImportJobSummary withMessage(String message)
If an error occurred, an informational message about the error.
message
- If an error occurred, an informational message about the error.public void setCreationTime(Date creationTime)
When the dataset import job was created.
creationTime
- When the dataset import job was created.public Date getCreationTime()
When the dataset import job was created.
public DatasetImportJobSummary withCreationTime(Date creationTime)
When the dataset import job was created.
creationTime
- When the dataset import job was created.public void setLastModificationTime(Date 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.
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.
public Date getLastModificationTime()
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 DatasetImportJobSummary withLastModificationTime(Date 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.
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.
public void setImportMode(String importMode)
The import mode of the dataset import job, FULL or INCREMENTAL.
importMode
- The import mode of the dataset import job, FULL or INCREMENTAL.ImportMode
public String getImportMode()
The import mode of the dataset import job, FULL or INCREMENTAL.
ImportMode
public DatasetImportJobSummary withImportMode(String importMode)
The import mode of the dataset import job, FULL or INCREMENTAL.
importMode
- The import mode of the dataset import job, FULL or INCREMENTAL.ImportMode
public DatasetImportJobSummary withImportMode(ImportMode importMode)
The import mode of the dataset import job, FULL or INCREMENTAL.
importMode
- The import mode of the dataset import job, FULL or INCREMENTAL.ImportMode
public String toString()
toString
in class Object
Object.toString()
public DatasetImportJobSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.