Interface OpportunityBulkJobSummary.Builder

  • Method Details

    • jobId

      The unique identifier of the bulk job.

      Parameters:
      jobId - The unique identifier of the bulk job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the bulk job.

      Parameters:
      status - The current status of the bulk job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the bulk job.

      Parameters:
      status - The current status of the bulk job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • totalRecords

      OpportunityBulkJobSummary.Builder totalRecords(Integer totalRecords)

      The total number of records in the input file.

      Parameters:
      totalRecords - The total number of records in the input file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • processedRecords

      OpportunityBulkJobSummary.Builder processedRecords(Integer processedRecords)

      The number of records that Partner Central has processed so far.

      Parameters:
      processedRecords - The number of records that Partner Central has processed so far.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • successCount

      OpportunityBulkJobSummary.Builder successCount(Integer successCount)

      The number of records that succeeded.

      Parameters:
      successCount - The number of records that succeeded.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureCount

      OpportunityBulkJobSummary.Builder failureCount(Integer failureCount)

      The number of records that failed.

      Parameters:
      failureCount - The number of records that failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      The date and time, in UTC, when you created the bulk job.

      Parameters:
      createdAt - The date and time, in UTC, when you created the bulk job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startedAt

      The date and time, in UTC, when the bulk job started processing records.

      Parameters:
      startedAt - The date and time, in UTC, when the bulk job started processing records.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • completedAt

      OpportunityBulkJobSummary.Builder completedAt(Instant completedAt)

      The date and time, in UTC, when the bulk job finished.

      Parameters:
      completedAt - The date and time, in UTC, when the bulk job finished.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureReason

      OpportunityBulkJobSummary.Builder failureReason(String failureReason)

      The reason that the bulk job failed. Present only when Status is FAILED.

      Parameters:
      failureReason - The reason that the bulk job failed. Present only when Status is FAILED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fileName

      The name of the input file that started the bulk job. Use it to identify the job by its file.

      Parameters:
      fileName - The name of the input file that started the bulk job. Use it to identify the job by its file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operationType

      OpportunityBulkJobSummary.Builder operationType(String operationType)

      Indicates whether the bulk job creates or updates opportunities, based on the template of the input file. Partner Central doesn't set this field until it reads the file.

      Parameters:
      operationType - Indicates whether the bulk job creates or updates opportunities, based on the template of the input file. Partner Central doesn't set this field until it reads the file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • operationType

      Indicates whether the bulk job creates or updates opportunities, based on the template of the input file. Partner Central doesn't set this field until it reads the file.

      Parameters:
      operationType - Indicates whether the bulk job creates or updates opportunities, based on the template of the input file. Partner Central doesn't set this field until it reads the file.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: