@Beta public class JobError extends Object
Constructor and Description |
---|
JobError() |
Modifier and Type | Method and Description |
---|---|
JobError |
code(String code)
Set the code of this
JobError instance and return the same instance. |
boolean |
equals(Object o) |
String |
getCode()
The error category.
|
String |
getLogId()
The log ID referring to the error.
|
String |
getMessage()
The error message.
|
int |
hashCode() |
JobError |
logId(String logId)
Set the logId of this
JobError instance and return the same instance. |
JobError |
message(String message)
Set the message of this
JobError instance and return the same instance. |
void |
setCode(String code)
Set the code of this
JobError instance. |
void |
setLogId(String logId)
Set the logId of this
JobError instance. |
void |
setMessage(String message)
Set the message of this
JobError instance. |
String |
toString() |
@Nonnull public JobError code(@Nonnull String code)
JobError
instance and return the same instance.code
- The error category.JobError
class@Nonnull public String getCode()
JobError
instance.public void setCode(@Nonnull String code)
JobError
instance.code
- The error category.@Nonnull public JobError message(@Nonnull String message)
JobError
instance and return the same instance.message
- The error message.JobError
class@Nonnull public String getMessage()
JobError
instance.public void setMessage(@Nonnull String message)
JobError
instance.message
- The error message.@Nonnull public JobError logId(@Nonnull String logId)
JobError
instance and return the same instance.logId
- The log ID referring to the error.JobError
class@Nonnull public String getLogId()
JobError
instance.public void setLogId(@Nonnull String logId)
JobError
instance.logId
- The log ID referring to the error.Copyright © 2020 SAP SE. All rights reserved.