Interface JobEntry.Builder

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

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

    • arn

      The ARN for the job.

      Parameters:
      arn - The ARN for the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      JobEntry.Builder createdAt(Instant createdAt)

      The date and time that the job was created, in ISO 8601 format.

      Parameters:
      createdAt - The date and time that the job was created, in ISO 8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • details

      Details of the operation to be performed by the job, such as export destination details or import source details.

      Parameters:
      details - Details of the operation to be performed by the job, such as export destination details or import source details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • details

      Details of the operation to be performed by the job, such as export destination details or import source details.

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

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

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

      Errors for jobs.

      Parameters:
      errors - Errors for jobs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      JobEntry.Builder errors(JobError... errors)

      Errors for jobs.

      Parameters:
      errors - Errors for jobs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errors

      Errors for jobs.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to errors(List<JobError>).

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

      The unique identifier for the job.

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

      JobEntry.Builder state(String state)

      The state of the job.

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

      JobEntry.Builder state(State state)

      The state of the job.

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

      The job type.

      Parameters:
      type - The job type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      JobEntry.Builder type(Type type)

      The job type.

      Parameters:
      type - The job type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • updatedAt

      JobEntry.Builder updatedAt(Instant updatedAt)

      The date and time that the job was last updated, in ISO 8601 format.

      Parameters:
      updatedAt - The date and time that the job was last updated, in ISO 8601 format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.