Interface JobError.Builder

    • Method Detail

      • code

        JobError.Builder code​(String 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, Code
      • 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:
        Code, Code
      • 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.
      • 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:
        JobErrorLimitName, JobErrorLimitName
      • 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:
        JobErrorResourceTypes, JobErrorResourceTypes