Interface JobError.Builder

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

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

    • code

      The code for the job error.

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

      JobError.Builder code(Code code)

      The code for the job error.

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

      JobError.Builder details(Details details)

      The details about the job error.

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

      default JobError.Builder details(Consumer<Details.Builder> details)

      The details about the job error.

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

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

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

      JobError.Builder limitName(String limitName)

      The name of the limit that was reached.

      Parameters:
      limitName - The name of the limit that was reached.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • limitName

      JobError.Builder limitName(JobErrorLimitName limitName)

      The name of the limit that was reached.

      Parameters:
      limitName - The name of the limit that was reached.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • limitValue

      JobError.Builder limitValue(Double limitValue)

      The value of the exceeded limit.

      Parameters:
      limitValue - The value of the exceeded limit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • message

      JobError.Builder message(String message)

      The message related to the job error.

      Parameters:
      message - The message related to the job error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceId

      JobError.Builder resourceId(String resourceId)

      The unique identifier for the resource related to the error.

      Parameters:
      resourceId - The unique identifier for the resource related to the error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceType

      JobError.Builder resourceType(String resourceType)

      The type of resource related to the error.

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

      JobError.Builder resourceType(JobErrorResourceTypes resourceType)

      The type of resource related to the error.

      Parameters:
      resourceType - The type of resource related to the error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: