Class TimelineError


  • public final class TimelineError
    extends Object
    Timeline Query Errors.
    • Constructor Detail

      • TimelineError

        public TimelineError()
    • Method Detail

      • kind

        public EntityTimelineKind kind()
        Get the kind property: the query kind.
        Returns:
        the kind value.
      • withKind

        public TimelineError withKind​(EntityTimelineKind kind)
        Set the kind property: the query kind.
        Parameters:
        kind - the kind value to set.
        Returns:
        the TimelineError object itself.
      • queryId

        public String queryId()
        Get the queryId property: the query id.
        Returns:
        the queryId value.
      • withQueryId

        public TimelineError withQueryId​(String queryId)
        Set the queryId property: the query id.
        Parameters:
        queryId - the queryId value to set.
        Returns:
        the TimelineError object itself.
      • errorMessage

        public String errorMessage()
        Get the errorMessage property: the error message.
        Returns:
        the errorMessage value.
      • withErrorMessage

        public TimelineError withErrorMessage​(String errorMessage)
        Set the errorMessage property: the error message.
        Parameters:
        errorMessage - the errorMessage value to set.
        Returns:
        the TimelineError object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.