Class TitusBatchJobResponse


  • public class TitusBatchJobResponse
    extends java.lang.Object
    Titus job response POJO.
    Since:
    4.0.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.String> getId()
      Get the ID of the Titus job.
      java.util.Optional<java.lang.String> getMessage()
      Get the message if there was one.
      java.util.Optional<java.lang.Integer> getStatusCode()
      Get the status code if there was one.
      void setId​(java.lang.String id)
      Set the id of the titus job.
      void setMessage​(java.lang.String message)
      Set the message if there was one.
      void setStatusCode​(java.lang.Integer statusCode)
      Set the status code.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TitusBatchJobResponse

        public TitusBatchJobResponse()
    • Method Detail

      • getId

        public java.util.Optional<java.lang.String> getId()
        Get the ID of the Titus job.
        Returns:
        The ID
      • setId

        public void setId​(@Nullable
                          java.lang.String id)
        Set the id of the titus job.
        Parameters:
        id - The new id
      • getStatusCode

        public java.util.Optional<java.lang.Integer> getStatusCode()
        Get the status code if there was one.
        Returns:
        The status code wrapped in Optional else Optional.empty()
      • setStatusCode

        public void setStatusCode​(@Nullable
                                  java.lang.Integer statusCode)
        Set the status code.
        Parameters:
        statusCode - The new status code
      • getMessage

        public java.util.Optional<java.lang.String> getMessage()
        Get the message if there was one.
        Returns:
        The message wrapped in Optional else Optional.empty()
      • setMessage

        public void setMessage​(@Nullable
                               java.lang.String message)
        Set the message if there was one.
        Parameters:
        message - The new message