Class TitusBatchJobResponse

java.lang.Object
com.netflix.genie.web.agent.launchers.dtos.TitusBatchJobResponse

public class TitusBatchJobResponse extends Object
Titus job response POJO.
Since:
4.0.0
  • Constructor Details

    • TitusBatchJobResponse

      public TitusBatchJobResponse()
  • Method Details

    • getId

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

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

      public Optional<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 Integer statusCode)
      Set the status code.
      Parameters:
      statusCode - The new status code
    • getMessage

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

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