Interface ImportJobResponse.Builder

    • Method Detail

      • applicationId

        ImportJobResponse.Builder applicationId​(String applicationId)

        The unique identifier for the application that's associated with the import job.

        Parameters:
        applicationId - The unique identifier for the application that's associated with the import job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • completedPieces

        ImportJobResponse.Builder completedPieces​(Integer completedPieces)

        The number of pieces that were processed successfully (completed) by the import job, as of the time of the request.

        Parameters:
        completedPieces - The number of pieces that were processed successfully (completed) by the import job, as of the time of the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • completionDate

        ImportJobResponse.Builder completionDate​(String completionDate)

        The date, in ISO 8601 format, when the import job was completed.

        Parameters:
        completionDate - The date, in ISO 8601 format, when the import job was completed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationDate

        ImportJobResponse.Builder creationDate​(String creationDate)

        The date, in ISO 8601 format, when the import job was created.

        Parameters:
        creationDate - The date, in ISO 8601 format, when the import job was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • definition

        ImportJobResponse.Builder definition​(ImportJobResource definition)

        The resource settings that apply to the import job.

        Parameters:
        definition - The resource settings that apply to the import job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failedPieces

        ImportJobResponse.Builder failedPieces​(Integer failedPieces)

        The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the request.

        Parameters:
        failedPieces - The number of pieces that weren't processed successfully (failed) by the import job, as of the time of the request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failures

        ImportJobResponse.Builder failures​(Collection<String> failures)

        An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the import job, if any.

        Parameters:
        failures - An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the import job, if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failures

        ImportJobResponse.Builder failures​(String... failures)

        An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the import job, if any.

        Parameters:
        failures - An array of entries, one for each of the first 100 entries that weren't processed successfully (failed) by the import job, if any.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        ImportJobResponse.Builder id​(String id)

        The unique identifier for the import job.

        Parameters:
        id - The unique identifier for the import job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobStatus

        ImportJobResponse.Builder jobStatus​(String jobStatus)

        The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.

        Parameters:
        jobStatus - The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobStatus, JobStatus
      • jobStatus

        ImportJobResponse.Builder jobStatus​(JobStatus jobStatus)

        The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.

        Parameters:
        jobStatus - The status of the import job. The job status is FAILED if Amazon Pinpoint wasn't able to process one or more pieces in the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobStatus, JobStatus
      • totalFailures

        ImportJobResponse.Builder totalFailures​(Integer totalFailures)

        The total number of endpoint definitions that weren't processed successfully (failed) by the import job, typically because an error, such as a syntax error, occurred.

        Parameters:
        totalFailures - The total number of endpoint definitions that weren't processed successfully (failed) by the import job, typically because an error, such as a syntax error, occurred.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • totalPieces

        ImportJobResponse.Builder totalPieces​(Integer totalPieces)

        The total number of pieces that must be processed to complete the import job. Each piece consists of an approximately equal portion of the endpoint definitions that are part of the import job.

        Parameters:
        totalPieces - The total number of pieces that must be processed to complete the import job. Each piece consists of an approximately equal portion of the endpoint definitions that are part of the import job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • totalProcessed

        ImportJobResponse.Builder totalProcessed​(Integer totalProcessed)

        The total number of endpoint definitions that were processed by the import job.

        Parameters:
        totalProcessed - The total number of endpoint definitions that were processed by the import job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        ImportJobResponse.Builder type​(String type)

        The job type. This value is IMPORT for import jobs.

        Parameters:
        type - The job type. This value is IMPORT for import jobs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.