public class TitusBatchJobResponse
extends java.lang.Object
| Constructor and Description |
|---|
TitusBatchJobResponse() |
| Modifier and Type | Method and 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.
|
public java.util.Optional<java.lang.String> getId()
public void setId(@Nullable
java.lang.String id)
id - The new idpublic java.util.Optional<java.lang.Integer> getStatusCode()
Optional else Optional.empty()public void setStatusCode(@Nullable
java.lang.Integer statusCode)
statusCode - The new status codepublic java.util.Optional<java.lang.String> getMessage()
Optional else Optional.empty()public void setMessage(@Nullable
java.lang.String message)
message - The new message