Interface ValidationError.Builder

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

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

    • elementPath

      ValidationError.Builder elementPath(String elementPath)
      Path to the source of the error.
      Parameters:
      elementPath - Path to the source of the error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorMessage

      ValidationError.Builder errorMessage(String errorMessage)
      The error message.
      Parameters:
      errorMessage - The error message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.