Interface DatasetImportJobSummary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DatasetImportJobSummary.Builder,DatasetImportJobSummary>, SdkBuilder<DatasetImportJobSummary.Builder,DatasetImportJobSummary>, SdkPojo
Enclosing class:
DatasetImportJobSummary

public static interface DatasetImportJobSummary.Builder extends SdkPojo, CopyableBuilder<DatasetImportJobSummary.Builder,DatasetImportJobSummary>
  • Method Details

    • 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

      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.
    • 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.

      This is a convenience method that creates an instance of the DataSource.Builder avoiding the need to create one manually via DataSource.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dataSource(DataSource).

      Parameters:
      dataSource - a consumer that will call methods on DataSource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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: