Interface InvalidSubjectError

All Superinterfaces:
ErrorObject

public interface InvalidSubjectError extends ErrorObject
InvalidSubjectError
Example to create an instance using the builder pattern

     InvalidSubjectError invalidSubjectError = InvalidSubjectError.builder()
             .message("{message}")
             .build()
 
  • Field Details

  • Method Details

    • of

      static InvalidSubjectError of()
      factory method
      Returns:
      instance of InvalidSubjectError
    • of

      factory method to create a shallow copy InvalidSubjectError
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • deepCopy

      factory method to create a deep copy of InvalidSubjectError
      Parameters:
      template - instance to be copied
      Returns:
      copy instance
    • builder

      static InvalidSubjectErrorBuilder builder()
      builder factory method for InvalidSubjectError
      Returns:
      builder
    • builder

      create builder for InvalidSubjectError instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder
    • withInvalidSubjectError

      default <T> T withInvalidSubjectError(Function<InvalidSubjectError,T> helper)
      accessor map function
      Type Parameters:
      T - mapped type
      Parameters:
      helper - function to map the object
      Returns:
      mapped value
    • typeReference

      static com.fasterxml.jackson.core.type.TypeReference<InvalidSubjectError> typeReference()
      gives a TypeReference for usage with Jackson DataBind
      Returns:
      TypeReference