Job Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. contentmoderator. models. Job
- com.
public class Job
The Job object.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
callBackEndpoint()
Get the callBackEndpoint value. |
String |
id()
Get the id value. |
List<Job |
jobExecutionReport()
Get the jobExecutionReport value. |
List<Key |
resultMetaData()
Get the resultMetaData value. |
String |
reviewId()
Get the reviewId value. |
String |
status()
Get the status value. |
String |
teamName()
Get the teamName value. |
String |
type()
Get the type value. |
Job |
withCallBackEndpoint(String callBackEndpoint)
Set the callBackEndpoint value. |
Job |
withId(String id)
Set the id value. |
Job |
withJobExecutionReport(List<JobExecutionReportDetails> jobExecutionReport)
Set the jobExecutionReport value. |
Job |
withResultMetaData(List<KeyValuePair> resultMetaData)
Set the resultMetaData value. |
Job |
withReviewId(String reviewId)
Set the reviewId value. |
Job |
withStatus(String status)
Set the status value. |
Job |
withTeamName(String teamName)
Set the teamName value. |
Job |
withType(String type)
Set the type value. |
Job |
withWorkflowId(String workflowId)
Set the workflowId value. |
String |
workflowId()
Get the workflowId value. |
Method Details
callBackEndpoint
public String callBackEndpoint()
Get the callBackEndpoint value.
Returns:
id
public String id()
Get the id value.
Returns:
jobExecutionReport
public List
Get the jobExecutionReport value.
Returns:
resultMetaData
public List
Get the resultMetaData value.
Returns:
reviewId
public String reviewId()
Get the reviewId value.
Returns:
status
public String status()
Get the status value.
Returns:
teamName
public String teamName()
Get the teamName value.
Returns:
type
public String type()
Get the type value.
Returns:
withCallBackEndpoint
public Job withCallBackEndpoint(String callBackEndpoint)
Set the callBackEndpoint value.
Parameters:
Returns:
withId
public Job withId(String id)
Set the id value.
Parameters:
Returns:
withJobExecutionReport
public Job withJobExecutionReport(List
Set the jobExecutionReport value.
Parameters:
Returns:
withResultMetaData
public Job withResultMetaData(List
Set the resultMetaData value.
Parameters:
Returns:
withReviewId
public Job withReviewId(String reviewId)
Set the reviewId value.
Parameters:
Returns:
withStatus
public Job withStatus(String status)
Set the status value.
Parameters:
Returns:
withTeamName
public Job withTeamName(String teamName)
Set the teamName value.
Parameters:
Returns:
withType
public Job withType(String type)
Set the type value.
Parameters:
Returns:
withWorkflowId
public Job withWorkflowId(String workflowId)
Set the workflowId value.
Parameters:
Returns:
workflowId
public String workflowId()
Get the workflowId value.
Returns: