azure-docs-sdk-java/docs-ref-autogen/com.azure.communication.job...

120 строки
8.9 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.communication.jobrouter.models.DistributionMode"
fullName: "com.azure.communication.jobrouter.models.DistributionMode"
name: "DistributionMode"
nameWithType: "DistributionMode"
summary: "Abstract base class for defining a distribution mode."
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 abstract class **DistributionMode**"
constructors:
- uid: "com.azure.communication.jobrouter.models.DistributionMode.DistributionMode()"
fullName: "com.azure.communication.jobrouter.models.DistributionMode.DistributionMode()"
name: "DistributionMode()"
nameWithType: "DistributionMode.DistributionMode()"
summary: "Creates an instance of Distribution<wbr>Mode class."
syntax: "public DistributionMode()"
desc: "Creates an instance of DistributionMode class."
methods:
- uid: "com.azure.communication.jobrouter.models.DistributionMode.getKind()"
fullName: "com.azure.communication.jobrouter.models.DistributionMode.getKind()"
name: "getKind()"
nameWithType: "DistributionMode.getKind()"
summary: "Returns kind discriminator."
syntax: "public String getKind()"
desc: "Returns kind discriminator."
returns:
description: "kind."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.communication.jobrouter.models.DistributionMode.getMaxConcurrentOffers()"
fullName: "com.azure.communication.jobrouter.models.DistributionMode.getMaxConcurrentOffers()"
name: "getMaxConcurrentOffers()"
nameWithType: "DistributionMode.getMaxConcurrentOffers()"
summary: "Get the max<wbr>Concurrent<wbr>Offers property: Governs the maximum number of active concurrent offers a job can have."
syntax: "public Integer getMaxConcurrentOffers()"
desc: "Get the maxConcurrentOffers property: Governs the maximum number of active concurrent offers a job can have."
returns:
description: "the maxConcurrentOffers value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.communication.jobrouter.models.DistributionMode.getMinConcurrentOffers()"
fullName: "com.azure.communication.jobrouter.models.DistributionMode.getMinConcurrentOffers()"
name: "getMinConcurrentOffers()"
nameWithType: "DistributionMode.getMinConcurrentOffers()"
summary: "Get the min<wbr>Concurrent<wbr>Offers property: Governs the minimum desired number of active concurrent offers a job can have."
syntax: "public Integer getMinConcurrentOffers()"
desc: "Get the minConcurrentOffers property: Governs the minimum desired number of active concurrent offers a job can have."
returns:
description: "the minConcurrentOffers value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.communication.jobrouter.models.DistributionMode.isBypassSelectors()"
fullName: "com.azure.communication.jobrouter.models.DistributionMode.isBypassSelectors()"
name: "isBypassSelectors()"
nameWithType: "DistributionMode.isBypassSelectors()"
summary: "Get the bypass<wbr>Selectors property: If set to true, then router will match workers to jobs even if they don't match label selectors."
syntax: "public Boolean isBypassSelectors()"
desc: "Get the bypassSelectors property: If set to true, then router will match workers to jobs even if they don't match label selectors. Warning: You may get workers that are not qualified for the job they are matched with if you set this variable to true. This flag is intended more for temporary usage. By default, set to false."
returns:
description: "the bypassSelectors value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.communication.jobrouter.models.DistributionMode.setBypassSelectors(java.lang.Boolean)"
fullName: "com.azure.communication.jobrouter.models.DistributionMode.setBypassSelectors(Boolean bypassSelectors)"
name: "setBypassSelectors(Boolean bypassSelectors)"
nameWithType: "DistributionMode.setBypassSelectors(Boolean bypassSelectors)"
summary: "Set the bypass<wbr>Selectors property: If set to true, then router will match workers to jobs even if they don't match label selectors."
parameters:
- description: "the bypassSelectors value to set."
name: "bypassSelectors"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
syntax: "public DistributionMode setBypassSelectors(Boolean bypassSelectors)"
desc: "Set the bypassSelectors property: If set to true, then router will match workers to jobs even if they don't match label selectors. Warning: You may get workers that are not qualified for the job they are matched with if you set this variable to true. This flag is intended more for temporary usage. By default, set to false."
returns:
description: "the DistributionMode object itself."
type: "<xref href=\"com.azure.communication.jobrouter.models.DistributionMode?alt=com.azure.communication.jobrouter.models.DistributionMode&text=DistributionMode\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.jobrouter.models.DistributionMode.setMaxConcurrentOffers(java.lang.Integer)"
fullName: "com.azure.communication.jobrouter.models.DistributionMode.setMaxConcurrentOffers(Integer maxConcurrentOffers)"
name: "setMaxConcurrentOffers(Integer maxConcurrentOffers)"
nameWithType: "DistributionMode.setMaxConcurrentOffers(Integer maxConcurrentOffers)"
summary: "Set the max<wbr>Concurrent<wbr>Offers property: Governs the maximum number of active concurrent offers a job can have."
parameters:
- description: "the maxConcurrentOffers value to set."
name: "maxConcurrentOffers"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public DistributionMode setMaxConcurrentOffers(Integer maxConcurrentOffers)"
desc: "Set the maxConcurrentOffers property: Governs the maximum number of active concurrent offers a job can have."
returns:
description: "the DistributionMode object itself."
type: "<xref href=\"com.azure.communication.jobrouter.models.DistributionMode?alt=com.azure.communication.jobrouter.models.DistributionMode&text=DistributionMode\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.jobrouter.models.DistributionMode.setMinConcurrentOffers(java.lang.Integer)"
fullName: "com.azure.communication.jobrouter.models.DistributionMode.setMinConcurrentOffers(Integer minConcurrentOffers)"
name: "setMinConcurrentOffers(Integer minConcurrentOffers)"
nameWithType: "DistributionMode.setMinConcurrentOffers(Integer minConcurrentOffers)"
summary: "Set the min<wbr>Concurrent<wbr>Offers property: Governs the minimum desired number of active concurrent offers a job can have."
parameters:
- description: "the minConcurrentOffers value to set."
name: "minConcurrentOffers"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public DistributionMode setMinConcurrentOffers(Integer minConcurrentOffers)"
desc: "Set the minConcurrentOffers property: Governs the minimum desired number of active concurrent offers a job can have."
returns:
description: "the DistributionMode object itself."
type: "<xref href=\"com.azure.communication.jobrouter.models.DistributionMode?alt=com.azure.communication.jobrouter.models.DistributionMode&text=DistributionMode\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Abstract base class for defining a distribution mode."
metadata: {}
package: "com.azure.communication.jobrouter.models"
artifact: com.azure:azure-communication-jobrouter:1.1.7