Interface DatasetImportJob.Builder

    • Method Detail

      • jobName

        DatasetImportJob.Builder jobName​(String jobName)

        The name of the import job.

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

        DatasetImportJob.Builder datasetImportJobArn​(String datasetImportJobArn)

        The ARN of the dataset import job.

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

        DatasetImportJob.Builder datasetArn​(String datasetArn)

        The Amazon Resource Name (ARN) of the dataset that receives the imported data.

        Parameters:
        datasetArn - The Amazon Resource Name (ARN) of the dataset that receives the imported data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataSource

        DatasetImportJob.Builder dataSource​(DataSource dataSource)

        The Amazon S3 bucket that contains the training data to import.

        Parameters:
        dataSource - The Amazon S3 bucket that contains the training data to import.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        DatasetImportJob.Builder roleArn​(String roleArn)

        The ARN of the IAM role that has permissions to read from the Amazon S3 data source.

        Parameters:
        roleArn - The ARN of the IAM role that has permissions to read from the Amazon S3 data source.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        DatasetImportJob.Builder status​(String status)

        The status of the dataset import job.

        A dataset import job can be in one of the following states:

        • CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

        Parameters:
        status - The status of the dataset import job.

        A dataset import job can be in one of the following states:

        • CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

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

        DatasetImportJob.Builder creationDateTime​(Instant creationDateTime)

        The creation date and time (in Unix time) of the dataset import job.

        Parameters:
        creationDateTime - The creation date and time (in Unix time) of the dataset import job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdatedDateTime

        DatasetImportJob.Builder lastUpdatedDateTime​(Instant lastUpdatedDateTime)

        The date and time (in Unix time) the dataset was last updated.

        Parameters:
        lastUpdatedDateTime - The date and time (in Unix time) the dataset was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureReason

        DatasetImportJob.Builder failureReason​(String failureReason)

        If a dataset import job fails, provides the reason why.

        Parameters:
        failureReason - If a dataset import job fails, provides the reason why.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • importMode

        DatasetImportJob.Builder importMode​(String importMode)

        The import mode used by the dataset import job to import new records.

        Parameters:
        importMode - The import mode used by the dataset import job to import new records.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ImportMode, ImportMode
      • importMode

        DatasetImportJob.Builder importMode​(ImportMode importMode)

        The import mode used by the dataset import job to import new records.

        Parameters:
        importMode - The import mode used by the dataset import job to import new records.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ImportMode, ImportMode
      • publishAttributionMetricsToS3

        DatasetImportJob.Builder publishAttributionMetricsToS3​(Boolean publishAttributionMetricsToS3)

        Whether the job publishes metrics to Amazon S3 for a metric attribution.

        Parameters:
        publishAttributionMetricsToS3 - Whether the job publishes metrics to Amazon S3 for a metric attribution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.