Interface ValidationExceptionField.Builder

  • Method Details

    • name

      The member of the request that failed, as the request names it: FieldValues for a template field value, Layout, EmailTarget, Identifier, and so on. It is never a template field id: a template field is always FieldValues, with the field in FieldId.

      Parameters:
      name - The member of the request that failed, as the request names it: FieldValues for a template field value, Layout, EmailTarget, Identifier, and so on. It is never a template field id: a template field is always FieldValues, with the field in FieldId.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fieldId

      The template field that failed, when Name is FieldValues; absent otherwise.

      Parameters:
      fieldId - The template field that failed, when Name is FieldValues; absent otherwise.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • message

      Why this field failed, in prose a partner can be shown directly.

      Parameters:
      message - Why this field failed, in prose a partner can be shown directly.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • code

      Why this field failed, as a value a client branches on. Read this rather than Message.

      Parameters:
      code - Why this field failed, as a value a client branches on. Read this rather than Message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • code

      Why this field failed, as a value a client branches on. Read this rather than Message.

      Parameters:
      code - Why this field failed, as a value a client branches on. Read this rather than Message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: