Class LLMObsAnnotationError

java.lang.Object
com.datadog.api.client.v2.model.LLMObsAnnotationError

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LLMObsAnnotationError extends Object
A partial error for a single annotation that could not be processed.
  • Field Details

  • Constructor Details

    • LLMObsAnnotationError

      public LLMObsAnnotationError()
    • LLMObsAnnotationError

      public LLMObsAnnotationError(String error, String interactionId)
  • Method Details

    • annotationId

      public LLMObsAnnotationError annotationId(String annotationId)
    • getAnnotationId

      @Nullable public String getAnnotationId()
      ID of the annotation that failed, if applicable.
      Returns:
      annotationId
    • setAnnotationId

      public void setAnnotationId(String annotationId)
    • code

    • getCode

      @Nullable public LLMObsAnnotationErrorCode getCode()
      Stable error code. permission_denied indicates the item was rejected by queue access rules.
      Returns:
      code
    • setCode

      public void setCode(LLMObsAnnotationErrorCode code)
    • error

      public LLMObsAnnotationError error(String error)
    • getError

      public String getError()
      Error message.
      Returns:
      error
    • setError

      public void setError(String error)
    • interactionId

      public LLMObsAnnotationError interactionId(String interactionId)
    • getInteractionId

      public String getInteractionId()
      ID of the interaction that failed.
      Returns:
      interactionId
    • setInteractionId

      public void setInteractionId(String interactionId)
    • putAdditionalProperty

      public LLMObsAnnotationError putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      LLMObsAnnotationError
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this LLMObsAnnotationError object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object