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

106 строки
7.0 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.communication.jobrouter.models.ExceptionPolicy"
fullName: "com.azure.communication.jobrouter.models.ExceptionPolicy"
name: "ExceptionPolicy"
nameWithType: "ExceptionPolicy"
summary: "A policy that defines actions to execute when exception are triggered."
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 **ExceptionPolicy**"
constructors:
- uid: "com.azure.communication.jobrouter.models.ExceptionPolicy.ExceptionPolicy()"
fullName: "com.azure.communication.jobrouter.models.ExceptionPolicy.ExceptionPolicy()"
name: "ExceptionPolicy()"
nameWithType: "ExceptionPolicy.ExceptionPolicy()"
summary: "Creates an instance of Exception<wbr>Policy class."
syntax: "public ExceptionPolicy()"
desc: "Creates an instance of ExceptionPolicy class."
methods:
- uid: "com.azure.communication.jobrouter.models.ExceptionPolicy.getEtag()"
fullName: "com.azure.communication.jobrouter.models.ExceptionPolicy.getEtag()"
name: "getEtag()"
nameWithType: "ExceptionPolicy.getEtag()"
summary: "Get the etag property: The entity tag for this resource."
syntax: "public String getEtag()"
desc: "Get the etag property: The entity tag for this resource."
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.ExceptionPolicy.getExceptionRules()"
fullName: "com.azure.communication.jobrouter.models.ExceptionPolicy.getExceptionRules()"
name: "getExceptionRules()"
nameWithType: "ExceptionPolicy.getExceptionRules()"
summary: "Get the exception<wbr>Rules property: A collection of exception rules on the exception policy."
syntax: "public List<ExceptionRule> getExceptionRules()"
desc: "Get the exceptionRules property: A collection of exception rules on the exception policy."
returns:
description: "the exceptionRules value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.communication.jobrouter.models.ExceptionRule?alt=com.azure.communication.jobrouter.models.ExceptionRule&text=ExceptionRule\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.communication.jobrouter.models.ExceptionPolicy.getId()"
fullName: "com.azure.communication.jobrouter.models.ExceptionPolicy.getId()"
name: "getId()"
nameWithType: "ExceptionPolicy.getId()"
summary: "Get the id property: The Id of the exception policy."
syntax: "public String getId()"
desc: "Get the id property: The Id of the exception policy."
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.ExceptionPolicy.getName()"
fullName: "com.azure.communication.jobrouter.models.ExceptionPolicy.getName()"
name: "getName()"
nameWithType: "ExceptionPolicy.getName()"
summary: "Get the name property: The name of the exception policy."
syntax: "public String getName()"
desc: "Get the name property: The name of the exception policy."
returns:
description: "the name value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.communication.jobrouter.models.ExceptionPolicy.setExceptionRules(java.util.List<com.azure.communication.jobrouter.models.ExceptionRule>)"
fullName: "com.azure.communication.jobrouter.models.ExceptionPolicy.setExceptionRules(List<ExceptionRule> exceptionRules)"
name: "setExceptionRules(List<ExceptionRule> exceptionRules)"
nameWithType: "ExceptionPolicy.setExceptionRules(List<ExceptionRule> exceptionRules)"
summary: "Set the exception<wbr>Rules property: A collection of exception rules on the exception policy."
parameters:
- description: "the exceptionRules value to set."
name: "exceptionRules"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.communication.jobrouter.models.ExceptionRule?alt=com.azure.communication.jobrouter.models.ExceptionRule&text=ExceptionRule\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public ExceptionPolicy setExceptionRules(List<ExceptionRule> exceptionRules)"
desc: "Set the exceptionRules property: A collection of exception rules on the exception policy."
returns:
description: "the ExceptionPolicy object itself."
type: "<xref href=\"com.azure.communication.jobrouter.models.ExceptionPolicy?alt=com.azure.communication.jobrouter.models.ExceptionPolicy&text=ExceptionPolicy\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.communication.jobrouter.models.ExceptionPolicy.setName(java.lang.String)"
fullName: "com.azure.communication.jobrouter.models.ExceptionPolicy.setName(String name)"
name: "setName(String name)"
nameWithType: "ExceptionPolicy.setName(String name)"
summary: "Set the name property: The name of the exception policy."
parameters:
- description: "the name value to set."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public ExceptionPolicy setName(String name)"
desc: "Set the name property: The name of the exception policy."
returns:
description: "the ExceptionPolicy object itself."
type: "<xref href=\"com.azure.communication.jobrouter.models.ExceptionPolicy?alt=com.azure.communication.jobrouter.models.ExceptionPolicy&text=ExceptionPolicy\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "A policy that defines actions to execute when exception are triggered."
metadata: {}
package: "com.azure.communication.jobrouter.models"
artifact: com.azure:azure-communication-jobrouter:1.1.9