Class TitusBatchJobResponse
- java.lang.Object
-
- com.netflix.genie.web.agent.launchers.dtos.TitusBatchJobResponse
-
public class TitusBatchJobResponse extends java.lang.ObjectTitus job response POJO.- Since:
- 4.0.0
-
-
Constructor Summary
Constructors Constructor Description TitusBatchJobResponse()
-
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.voidsetId(java.lang.String id)Set the id of the titus job.voidsetMessage(java.lang.String message)Set the message if there was one.voidsetStatusCode(java.lang.Integer statusCode)Set the status code.
-
-
-
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
OptionalelseOptional.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
OptionalelseOptional.empty()
-
setMessage
public void setMessage(@Nullable java.lang.String message)Set the message if there was one.- Parameters:
message- The new message
-
-