Interface GetJobResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<GetJobResponse.Builder,GetJobResponse>, DataExchangeResponse.Builder, SdkBuilder<GetJobResponse.Builder,GetJobResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetJobResponse

public static interface GetJobResponse.Builder extends DataExchangeResponse.Builder, SdkPojo, CopyableBuilder<GetJobResponse.Builder,GetJobResponse>
  • 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

      GetJobResponse.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 about the job.

      Parameters:
      details - Details about the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • details

      Details about the job.

      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

      The errors associated with jobs.

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

      GetJobResponse.Builder errors(JobError... errors)

      The errors associated with jobs.

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

      The errors associated with 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

      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

      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

      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

      GetJobResponse.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.