Interface ImportJobSummary.Builder

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

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

    • jobId

      Sets the value of the JobId property for this object.
      Parameters:
      jobId - The new value for the JobId property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • importDestination

      ImportJobSummary.Builder importDestination(ImportDestination importDestination)
      Sets the value of the ImportDestination property for this object.
      Parameters:
      importDestination - The new value for the ImportDestination property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • importDestination

      default ImportJobSummary.Builder importDestination(Consumer<ImportDestination.Builder> importDestination)
      Sets the value of the ImportDestination property for this object. This is a convenience method that creates an instance of the ImportDestination.Builder avoiding the need to create one manually via ImportDestination.builder().

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

      Parameters:
      importDestination - a consumer that will call methods on ImportDestination.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobStatus

      ImportJobSummary.Builder jobStatus(String jobStatus)
      Sets the value of the JobStatus property for this object.
      Parameters:
      jobStatus - The new value for the JobStatus property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • jobStatus

      ImportJobSummary.Builder jobStatus(JobStatus jobStatus)
      Sets the value of the JobStatus property for this object.
      Parameters:
      jobStatus - The new value for the JobStatus property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdTimestamp

      ImportJobSummary.Builder createdTimestamp(Instant createdTimestamp)

      The date and time when the import job was created.

      Parameters:
      createdTimestamp - The date and time when the import job was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • processedRecordsCount

      ImportJobSummary.Builder processedRecordsCount(Integer processedRecordsCount)

      The current number of records processed.

      Parameters:
      processedRecordsCount - The current number of records processed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failedRecordsCount

      ImportJobSummary.Builder failedRecordsCount(Integer failedRecordsCount)

      The number of records that failed processing because of invalid input or other reasons.

      Parameters:
      failedRecordsCount - The number of records that failed processing because of invalid input or other reasons.
      Returns:
      Returns a reference to this object so that method calls can be chained together.