Interface DatasetImportJobSummary.Builder

    • Method Detail

      • datasetImportJobArn

        DatasetImportJobSummary.Builder datasetImportJobArn​(String datasetImportJobArn)

        The Amazon Resource Name (ARN) of the dataset import job.

        Parameters:
        datasetImportJobArn - The Amazon Resource Name (ARN) of the dataset import job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • datasetImportJobName

        DatasetImportJobSummary.Builder datasetImportJobName​(String datasetImportJobName)

        The name of the dataset import job.

        Parameters:
        datasetImportJobName - The name of the dataset import job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataSource

        DatasetImportJobSummary.Builder dataSource​(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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        DatasetImportJobSummary.Builder status​(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

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • message

        DatasetImportJobSummary.Builder message​(String message)

        If an error occurred, an informational message about the error.

        Parameters:
        message - If an error occurred, an informational message about the error.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationTime

        DatasetImportJobSummary.Builder creationTime​(Instant creationTime)

        When the dataset import job was created.

        Parameters:
        creationTime - When the dataset import job was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModificationTime

        DatasetImportJobSummary.Builder lastModificationTime​(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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • importMode

        DatasetImportJobSummary.Builder importMode​(String importMode)

        The import mode of the dataset import job, FULL or INCREMENTAL.

        Parameters:
        importMode - The import mode of the dataset import job, FULL or INCREMENTAL.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ImportMode, ImportMode
      • importMode

        DatasetImportJobSummary.Builder importMode​(ImportMode importMode)

        The import mode of the dataset import job, FULL or INCREMENTAL.

        Parameters:
        importMode - The import mode of the dataset import job, FULL or INCREMENTAL.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ImportMode, ImportMode