372 строки
28 KiB
YAML
372 строки
28 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.communication.jobrouter.models.RouterJob"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob"
|
|
name: "RouterJob"
|
|
nameWithType: "RouterJob"
|
|
summary: "A unit of work to be routed."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **RouterJob**"
|
|
constructors:
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.RouterJob()"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.RouterJob()"
|
|
name: "RouterJob()"
|
|
nameWithType: "RouterJob.RouterJob()"
|
|
summary: "Creates an instance of Router<wbr>Job class."
|
|
syntax: "public RouterJob()"
|
|
desc: "Creates an instance of RouterJob class."
|
|
methods:
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.getAssignments()"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.getAssignments()"
|
|
name: "getAssignments()"
|
|
nameWithType: "RouterJob.getAssignments()"
|
|
summary: "Get the assignments property: A collection of the assignments of the job."
|
|
syntax: "public Map<String,RouterJobAssignment> getAssignments()"
|
|
desc: "Get the assignments property: A collection of the assignments of the job. Key is AssignmentId."
|
|
returns:
|
|
description: "the assignments value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<xref href=\"com.azure.communication.jobrouter.models.RouterJobAssignment?alt=com.azure.communication.jobrouter.models.RouterJobAssignment&text=RouterJobAssignment\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.getAttachedWorkerSelectors()"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.getAttachedWorkerSelectors()"
|
|
name: "getAttachedWorkerSelectors()"
|
|
nameWithType: "RouterJob.getAttachedWorkerSelectors()"
|
|
summary: "Get the attached<wbr>Worker<wbr>Selectors property: A collection of label selectors attached by a classification policy, which a worker must satisfy in order to process this job."
|
|
syntax: "public List<RouterWorkerSelector> getAttachedWorkerSelectors()"
|
|
desc: "Get the attachedWorkerSelectors property: A collection of label selectors attached by a classification policy, which a worker must satisfy in order to process this job."
|
|
returns:
|
|
description: "the attachedWorkerSelectors value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.communication.jobrouter.models.RouterWorkerSelector?alt=com.azure.communication.jobrouter.models.RouterWorkerSelector&text=RouterWorkerSelector\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.getChannelId()"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.getChannelId()"
|
|
name: "getChannelId()"
|
|
nameWithType: "RouterJob.getChannelId()"
|
|
summary: "Get the channel<wbr>Id property: The channel identifier."
|
|
syntax: "public String getChannelId()"
|
|
desc: "Get the channelId property: The channel identifier. eg. voice, chat, etc."
|
|
returns:
|
|
description: "the channelId value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.getChannelReference()"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.getChannelReference()"
|
|
name: "getChannelReference()"
|
|
nameWithType: "RouterJob.getChannelReference()"
|
|
summary: "Get the channel<wbr>Reference property: Reference to an external parent context, eg."
|
|
syntax: "public String getChannelReference()"
|
|
desc: "Get the channelReference property: Reference to an external parent context, eg. call ID."
|
|
returns:
|
|
description: "the channelReference value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.getClassificationPolicyId()"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.getClassificationPolicyId()"
|
|
name: "getClassificationPolicyId()"
|
|
nameWithType: "RouterJob.getClassificationPolicyId()"
|
|
summary: "Get the classification<wbr>Policy<wbr>Id property: The Id of the Classification policy used for classifying a job."
|
|
syntax: "public String getClassificationPolicyId()"
|
|
desc: "Get the classificationPolicyId property: The Id of the Classification policy used for classifying a job."
|
|
returns:
|
|
description: "the classificationPolicyId value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.getDispositionCode()"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.getDispositionCode()"
|
|
name: "getDispositionCode()"
|
|
nameWithType: "RouterJob.getDispositionCode()"
|
|
summary: "Get the disposition<wbr>Code property: Reason code for cancelled or closed jobs."
|
|
syntax: "public String getDispositionCode()"
|
|
desc: "Get the dispositionCode property: Reason code for cancelled or closed jobs."
|
|
returns:
|
|
description: "the dispositionCode value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.getEnqueuedAt()"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.getEnqueuedAt()"
|
|
name: "getEnqueuedAt()"
|
|
nameWithType: "RouterJob.getEnqueuedAt()"
|
|
summary: "Get the enqueued<wbr>At property: The time a job was queued in UTC."
|
|
syntax: "public OffsetDateTime getEnqueuedAt()"
|
|
desc: "Get the enqueuedAt property: The time a job was queued in UTC."
|
|
returns:
|
|
description: "the enqueuedAt value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.getEtag()"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.getEtag()"
|
|
name: "getEtag()"
|
|
nameWithType: "RouterJob.getEtag()"
|
|
summary: "Get the etag property: Concurrency Token."
|
|
syntax: "public String getEtag()"
|
|
desc: "Get the etag property: Concurrency Token."
|
|
returns:
|
|
description: "the etag value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.getId()"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.getId()"
|
|
name: "getId()"
|
|
nameWithType: "RouterJob.getId()"
|
|
summary: "Get the id property: The id of the job."
|
|
syntax: "public String getId()"
|
|
desc: "Get the id property: The id of the job."
|
|
returns:
|
|
description: "the id value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.getLabels()"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.getLabels()"
|
|
name: "getLabels()"
|
|
nameWithType: "RouterJob.getLabels()"
|
|
summary: "Get the labels property: A set of key/value pairs that are identifying attributes used by the rules engines to make decisions."
|
|
syntax: "public Map<String,RouterValue> getLabels()"
|
|
desc: "Get the labels property: A set of key/value pairs that are identifying attributes used by the rules engines to make decisions."
|
|
returns:
|
|
description: "the labels value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<xref href=\"com.azure.communication.jobrouter.models.RouterValue?alt=com.azure.communication.jobrouter.models.RouterValue&text=RouterValue\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.getMatchingMode()"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.getMatchingMode()"
|
|
name: "getMatchingMode()"
|
|
nameWithType: "RouterJob.getMatchingMode()"
|
|
summary: "Get the matching<wbr>Mode property: The matching mode to be applied to this job."
|
|
syntax: "public JobMatchingMode getMatchingMode()"
|
|
desc: "Get the matchingMode property: The matching mode to be applied to this job.\n\nSupported types:\n\nQueueAndMatchMode: Used when matching worker to a job is required to be done right after job is queued. ScheduleAndSuspendMode: Used for scheduling jobs to be queued at a future time. At specified time, matching of a worker to the job will not start automatically. SuspendMode: Used when matching workers to a job needs to be suspended."
|
|
returns:
|
|
description: "the matchingMode value."
|
|
type: "<xref href=\"com.azure.communication.jobrouter.models.JobMatchingMode?alt=com.azure.communication.jobrouter.models.JobMatchingMode&text=JobMatchingMode\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.getNotes()"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.getNotes()"
|
|
name: "getNotes()"
|
|
nameWithType: "RouterJob.getNotes()"
|
|
summary: "Get the notes property: Notes attached to a job, sorted by timestamp."
|
|
syntax: "public List<RouterJobNote> getNotes()"
|
|
desc: "Get the notes property: Notes attached to a job, sorted by timestamp."
|
|
returns:
|
|
description: "the notes value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.communication.jobrouter.models.RouterJobNote?alt=com.azure.communication.jobrouter.models.RouterJobNote&text=RouterJobNote\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.getPriority()"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.getPriority()"
|
|
name: "getPriority()"
|
|
nameWithType: "RouterJob.getPriority()"
|
|
summary: "Get the priority property: The priority of this job."
|
|
syntax: "public Integer getPriority()"
|
|
desc: "Get the priority property: The priority of this job."
|
|
returns:
|
|
description: "the priority value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.getQueueId()"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.getQueueId()"
|
|
name: "getQueueId()"
|
|
nameWithType: "RouterJob.getQueueId()"
|
|
summary: "Get the queue<wbr>Id property: The Id of the Queue that this job is queued to."
|
|
syntax: "public String getQueueId()"
|
|
desc: "Get the queueId property: The Id of the Queue that this job is queued to."
|
|
returns:
|
|
description: "the queueId value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.getRequestedWorkerSelectors()"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.getRequestedWorkerSelectors()"
|
|
name: "getRequestedWorkerSelectors()"
|
|
nameWithType: "RouterJob.getRequestedWorkerSelectors()"
|
|
summary: "Get the requested<wbr>Worker<wbr>Selectors property: A collection of manually specified label selectors, which a worker must satisfy in order to process this job."
|
|
syntax: "public List<RouterWorkerSelector> getRequestedWorkerSelectors()"
|
|
desc: "Get the requestedWorkerSelectors property: A collection of manually specified label selectors, which a worker must satisfy in order to process this job."
|
|
returns:
|
|
description: "the requestedWorkerSelectors value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.communication.jobrouter.models.RouterWorkerSelector?alt=com.azure.communication.jobrouter.models.RouterWorkerSelector&text=RouterWorkerSelector\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.getScheduledAt()"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.getScheduledAt()"
|
|
name: "getScheduledAt()"
|
|
nameWithType: "RouterJob.getScheduledAt()"
|
|
summary: "Get the scheduled<wbr>At property: If set, job will be scheduled to be enqueued at a given time."
|
|
syntax: "public OffsetDateTime getScheduledAt()"
|
|
desc: "Get the scheduledAt property: If set, job will be scheduled to be enqueued at a given time."
|
|
returns:
|
|
description: "the scheduledAt value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.getStatus()"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.getStatus()"
|
|
name: "getStatus()"
|
|
nameWithType: "RouterJob.getStatus()"
|
|
summary: "Get the status property: The status of the Job."
|
|
syntax: "public RouterJobStatus getStatus()"
|
|
desc: "Get the status property: The status of the Job."
|
|
returns:
|
|
description: "the status value."
|
|
type: "<xref href=\"com.azure.communication.jobrouter.models.RouterJobStatus?alt=com.azure.communication.jobrouter.models.RouterJobStatus&text=RouterJobStatus\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.getTags()"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.getTags()"
|
|
name: "getTags()"
|
|
nameWithType: "RouterJob.getTags()"
|
|
summary: "Get the tags property: A set of non-identifying attributes attached to this job."
|
|
syntax: "public Map<String,RouterValue> getTags()"
|
|
desc: "Get the tags property: A set of non-identifying attributes attached to this job."
|
|
returns:
|
|
description: "the tags value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<xref href=\"com.azure.communication.jobrouter.models.RouterValue?alt=com.azure.communication.jobrouter.models.RouterValue&text=RouterValue\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.setChannelId(java.lang.String)"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.setChannelId(String channelId)"
|
|
name: "setChannelId(String channelId)"
|
|
nameWithType: "RouterJob.setChannelId(String channelId)"
|
|
summary: "Set the channel<wbr>Id property: The channel identifier."
|
|
parameters:
|
|
- description: "the channelId value to set."
|
|
name: "channelId"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public RouterJob setChannelId(String channelId)"
|
|
desc: "Set the channelId property: The channel identifier. eg. voice, chat, etc."
|
|
returns:
|
|
description: "the RouterJob object itself."
|
|
type: "<xref href=\"com.azure.communication.jobrouter.models.RouterJob?alt=com.azure.communication.jobrouter.models.RouterJob&text=RouterJob\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.setChannelReference(java.lang.String)"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.setChannelReference(String channelReference)"
|
|
name: "setChannelReference(String channelReference)"
|
|
nameWithType: "RouterJob.setChannelReference(String channelReference)"
|
|
summary: "Set the channel<wbr>Reference property: Reference to an external parent context, eg."
|
|
parameters:
|
|
- description: "the channelReference value to set."
|
|
name: "channelReference"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public RouterJob setChannelReference(String channelReference)"
|
|
desc: "Set the channelReference property: Reference to an external parent context, eg. call ID."
|
|
returns:
|
|
description: "the RouterJob object itself."
|
|
type: "<xref href=\"com.azure.communication.jobrouter.models.RouterJob?alt=com.azure.communication.jobrouter.models.RouterJob&text=RouterJob\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.setClassificationPolicyId(java.lang.String)"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.setClassificationPolicyId(String classificationPolicyId)"
|
|
name: "setClassificationPolicyId(String classificationPolicyId)"
|
|
nameWithType: "RouterJob.setClassificationPolicyId(String classificationPolicyId)"
|
|
summary: "Set the classification<wbr>Policy<wbr>Id property: The Id of the Classification policy used for classifying a job."
|
|
parameters:
|
|
- description: "the classificationPolicyId value to set."
|
|
name: "classificationPolicyId"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public RouterJob setClassificationPolicyId(String classificationPolicyId)"
|
|
desc: "Set the classificationPolicyId property: The Id of the Classification policy used for classifying a job."
|
|
returns:
|
|
description: "the RouterJob object itself."
|
|
type: "<xref href=\"com.azure.communication.jobrouter.models.RouterJob?alt=com.azure.communication.jobrouter.models.RouterJob&text=RouterJob\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.setDispositionCode(java.lang.String)"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.setDispositionCode(String dispositionCode)"
|
|
name: "setDispositionCode(String dispositionCode)"
|
|
nameWithType: "RouterJob.setDispositionCode(String dispositionCode)"
|
|
summary: "Set the disposition<wbr>Code property: Reason code for cancelled or closed jobs."
|
|
parameters:
|
|
- description: "the dispositionCode value to set."
|
|
name: "dispositionCode"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public RouterJob setDispositionCode(String dispositionCode)"
|
|
desc: "Set the dispositionCode property: Reason code for cancelled or closed jobs."
|
|
returns:
|
|
description: "the RouterJob object itself."
|
|
type: "<xref href=\"com.azure.communication.jobrouter.models.RouterJob?alt=com.azure.communication.jobrouter.models.RouterJob&text=RouterJob\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.setLabels(java.util.Map<java.lang.String,com.azure.communication.jobrouter.models.RouterValue>)"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.setLabels(Map<String,RouterValue> labels)"
|
|
name: "setLabels(Map<String,RouterValue> labels)"
|
|
nameWithType: "RouterJob.setLabels(Map<String,RouterValue> labels)"
|
|
summary: "Set the labels property: A set of key/value pairs that are identifying attributes used by the rules engines to make decisions."
|
|
parameters:
|
|
- description: "the labels value to set."
|
|
name: "labels"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<xref href=\"com.azure.communication.jobrouter.models.RouterValue?alt=com.azure.communication.jobrouter.models.RouterValue&text=RouterValue\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public RouterJob setLabels(Map<String,RouterValue> labels)"
|
|
desc: "Set the labels property: A set of key/value pairs that are identifying attributes used by the rules engines to make decisions."
|
|
returns:
|
|
description: "the RouterJob object itself."
|
|
type: "<xref href=\"com.azure.communication.jobrouter.models.RouterJob?alt=com.azure.communication.jobrouter.models.RouterJob&text=RouterJob\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.setMatchingMode(com.azure.communication.jobrouter.models.JobMatchingMode)"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.setMatchingMode(JobMatchingMode matchingMode)"
|
|
name: "setMatchingMode(JobMatchingMode matchingMode)"
|
|
nameWithType: "RouterJob.setMatchingMode(JobMatchingMode matchingMode)"
|
|
summary: "Set the matching<wbr>Mode property: The matching mode to be applied to this job."
|
|
parameters:
|
|
- description: "the matchingMode value to set."
|
|
name: "matchingMode"
|
|
type: "<xref href=\"com.azure.communication.jobrouter.models.JobMatchingMode?alt=com.azure.communication.jobrouter.models.JobMatchingMode&text=JobMatchingMode\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public RouterJob setMatchingMode(JobMatchingMode matchingMode)"
|
|
desc: "Set the matchingMode property: The matching mode to be applied to this job.\n\nSupported types:\n\nQueueAndMatchMode: Used when matching worker to a job is required to be done right after job is queued. ScheduleAndSuspendMode: Used for scheduling jobs to be queued at a future time. At specified time, matching of a worker to the job will not start automatically. SuspendMode: Used when matching workers to a job needs to be suspended."
|
|
returns:
|
|
description: "the RouterJob object itself."
|
|
type: "<xref href=\"com.azure.communication.jobrouter.models.RouterJob?alt=com.azure.communication.jobrouter.models.RouterJob&text=RouterJob\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.setNotes(java.util.List<com.azure.communication.jobrouter.models.RouterJobNote>)"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.setNotes(List<RouterJobNote> notes)"
|
|
name: "setNotes(List<RouterJobNote> notes)"
|
|
nameWithType: "RouterJob.setNotes(List<RouterJobNote> notes)"
|
|
summary: "Set the notes property: Notes attached to a job, sorted by timestamp."
|
|
parameters:
|
|
- description: "the notes value to set."
|
|
name: "notes"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.communication.jobrouter.models.RouterJobNote?alt=com.azure.communication.jobrouter.models.RouterJobNote&text=RouterJobNote\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public RouterJob setNotes(List<RouterJobNote> notes)"
|
|
desc: "Set the notes property: Notes attached to a job, sorted by timestamp."
|
|
returns:
|
|
description: "the RouterJob object itself."
|
|
type: "<xref href=\"com.azure.communication.jobrouter.models.RouterJob?alt=com.azure.communication.jobrouter.models.RouterJob&text=RouterJob\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.setPriority(java.lang.Integer)"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.setPriority(Integer priority)"
|
|
name: "setPriority(Integer priority)"
|
|
nameWithType: "RouterJob.setPriority(Integer priority)"
|
|
summary: "Set the priority property: The priority of this job."
|
|
parameters:
|
|
- description: "the priority value to set."
|
|
name: "priority"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
|
|
syntax: "public RouterJob setPriority(Integer priority)"
|
|
desc: "Set the priority property: The priority of this job."
|
|
returns:
|
|
description: "the RouterJob object itself."
|
|
type: "<xref href=\"com.azure.communication.jobrouter.models.RouterJob?alt=com.azure.communication.jobrouter.models.RouterJob&text=RouterJob\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.setQueueId(java.lang.String)"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.setQueueId(String queueId)"
|
|
name: "setQueueId(String queueId)"
|
|
nameWithType: "RouterJob.setQueueId(String queueId)"
|
|
summary: "Set the queue<wbr>Id property: The Id of the Queue that this job is queued to."
|
|
parameters:
|
|
- description: "the queueId value to set."
|
|
name: "queueId"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public RouterJob setQueueId(String queueId)"
|
|
desc: "Set the queueId property: The Id of the Queue that this job is queued to."
|
|
returns:
|
|
description: "the RouterJob object itself."
|
|
type: "<xref href=\"com.azure.communication.jobrouter.models.RouterJob?alt=com.azure.communication.jobrouter.models.RouterJob&text=RouterJob\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.setRequestedWorkerSelectors(java.util.List<com.azure.communication.jobrouter.models.RouterWorkerSelector>)"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.setRequestedWorkerSelectors(List<RouterWorkerSelector> requestedWorkerSelectors)"
|
|
name: "setRequestedWorkerSelectors(List<RouterWorkerSelector> requestedWorkerSelectors)"
|
|
nameWithType: "RouterJob.setRequestedWorkerSelectors(List<RouterWorkerSelector> requestedWorkerSelectors)"
|
|
summary: "Set the requested<wbr>Worker<wbr>Selectors property: A collection of manually specified label selectors, which a worker must satisfy in order to process this job."
|
|
parameters:
|
|
- description: "the requestedWorkerSelectors value to set."
|
|
name: "requestedWorkerSelectors"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.communication.jobrouter.models.RouterWorkerSelector?alt=com.azure.communication.jobrouter.models.RouterWorkerSelector&text=RouterWorkerSelector\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public RouterJob setRequestedWorkerSelectors(List<RouterWorkerSelector> requestedWorkerSelectors)"
|
|
desc: "Set the requestedWorkerSelectors property: A collection of manually specified label selectors, which a worker must satisfy in order to process this job."
|
|
returns:
|
|
description: "the RouterJob object itself."
|
|
type: "<xref href=\"com.azure.communication.jobrouter.models.RouterJob?alt=com.azure.communication.jobrouter.models.RouterJob&text=RouterJob\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.communication.jobrouter.models.RouterJob.setTags(java.util.Map<java.lang.String,com.azure.communication.jobrouter.models.RouterValue>)"
|
|
fullName: "com.azure.communication.jobrouter.models.RouterJob.setTags(Map<String,RouterValue> tags)"
|
|
name: "setTags(Map<String,RouterValue> tags)"
|
|
nameWithType: "RouterJob.setTags(Map<String,RouterValue> tags)"
|
|
summary: "Set the tags property: A set of non-identifying attributes attached to this job."
|
|
parameters:
|
|
- description: "the tags value to set."
|
|
name: "tags"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<xref href=\"com.azure.communication.jobrouter.models.RouterValue?alt=com.azure.communication.jobrouter.models.RouterValue&text=RouterValue\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public RouterJob setTags(Map<String,RouterValue> tags)"
|
|
desc: "Set the tags property: A set of non-identifying attributes attached to this job."
|
|
returns:
|
|
description: "the RouterJob object itself."
|
|
type: "<xref href=\"com.azure.communication.jobrouter.models.RouterJob?alt=com.azure.communication.jobrouter.models.RouterJob&text=RouterJob\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "A unit of work to be routed."
|
|
metadata: {}
|
|
package: "com.azure.communication.jobrouter.models"
|
|
artifact: com.azure:azure-communication-jobrouter:1.1.7
|