azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.c...

174 строки
13 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.cdn.models.DeliveryRule"
fullName: "com.azure.resourcemanager.cdn.models.DeliveryRule"
name: "DeliveryRule"
nameWithType: "DeliveryRule"
summary: "A rule that specifies a set of actions and conditions."
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 **DeliveryRule**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.cdn.models.DeliveryRule?alt=com.azure.resourcemanager.cdn.models.DeliveryRule&text=DeliveryRule\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.cdn.models.DeliveryRule.DeliveryRule()"
fullName: "com.azure.resourcemanager.cdn.models.DeliveryRule.DeliveryRule()"
name: "DeliveryRule()"
nameWithType: "DeliveryRule.DeliveryRule()"
summary: "Creates an instance of Delivery<wbr>Rule class."
syntax: "public DeliveryRule()"
desc: "Creates an instance of DeliveryRule class."
methods:
- uid: "com.azure.resourcemanager.cdn.models.DeliveryRule.actions()"
fullName: "com.azure.resourcemanager.cdn.models.DeliveryRule.actions()"
name: "actions()"
nameWithType: "DeliveryRule.actions()"
summary: "Get the actions property: A list of actions that are executed when all the conditions of a rule are satisfied."
syntax: "public List<DeliveryRuleAction> actions()"
desc: "Get the actions property: A list of actions that are executed when all the conditions of a rule are satisfied."
returns:
description: "the actions value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.cdn.models.DeliveryRuleAction?alt=com.azure.resourcemanager.cdn.models.DeliveryRuleAction&text=DeliveryRuleAction\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.cdn.models.DeliveryRule.conditions()"
fullName: "com.azure.resourcemanager.cdn.models.DeliveryRule.conditions()"
name: "conditions()"
nameWithType: "DeliveryRule.conditions()"
summary: "Get the conditions property: A list of conditions that must be matched for the actions to be executed."
syntax: "public List<DeliveryRuleCondition> conditions()"
desc: "Get the conditions property: A list of conditions that must be matched for the actions to be executed."
returns:
description: "the conditions value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.cdn.models.DeliveryRuleCondition?alt=com.azure.resourcemanager.cdn.models.DeliveryRuleCondition&text=DeliveryRuleCondition\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.cdn.models.DeliveryRule.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.cdn.models.DeliveryRule.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "DeliveryRule.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Delivery<wbr>Rule from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static DeliveryRule fromJson(JsonReader jsonReader)"
exceptions:
- description: "If the deserialized JSON object was missing any required properties."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of DeliveryRule from the JsonReader."
returns:
description: "An instance of DeliveryRule if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.cdn.models.DeliveryRule?alt=com.azure.resourcemanager.cdn.models.DeliveryRule&text=DeliveryRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cdn.models.DeliveryRule.name()"
fullName: "com.azure.resourcemanager.cdn.models.DeliveryRule.name()"
name: "name()"
nameWithType: "DeliveryRule.name()"
summary: "Get the name property: Name of the rule."
syntax: "public String name()"
desc: "Get the name property: Name of the rule."
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.resourcemanager.cdn.models.DeliveryRule.order()"
fullName: "com.azure.resourcemanager.cdn.models.DeliveryRule.order()"
name: "order()"
nameWithType: "DeliveryRule.order()"
summary: "Get the order property: The order in which the rules are applied for the endpoint."
syntax: "public int order()"
desc: "Get the order property: The order in which the rules are applied for the endpoint. Possible values \\{0,1,2,3,\\\\u2026\\\\u2026\\\\u2026\\}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied."
returns:
description: "the order value."
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cdn.models.DeliveryRule.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.cdn.models.DeliveryRule.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "DeliveryRule.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cdn.models.DeliveryRule.validate()"
fullName: "com.azure.resourcemanager.cdn.models.DeliveryRule.validate()"
name: "validate()"
nameWithType: "DeliveryRule.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.cdn.models.DeliveryRule.withActions(java.util.List<com.azure.resourcemanager.cdn.models.DeliveryRuleAction>)"
fullName: "com.azure.resourcemanager.cdn.models.DeliveryRule.withActions(List<DeliveryRuleAction> actions)"
name: "withActions(List<DeliveryRuleAction> actions)"
nameWithType: "DeliveryRule.withActions(List<DeliveryRuleAction> actions)"
summary: "Set the actions property: A list of actions that are executed when all the conditions of a rule are satisfied."
parameters:
- description: "the actions value to set."
name: "actions"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.cdn.models.DeliveryRuleAction?alt=com.azure.resourcemanager.cdn.models.DeliveryRuleAction&text=DeliveryRuleAction\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public DeliveryRule withActions(List<DeliveryRuleAction> actions)"
desc: "Set the actions property: A list of actions that are executed when all the conditions of a rule are satisfied."
returns:
description: "the DeliveryRule object itself."
type: "<xref href=\"com.azure.resourcemanager.cdn.models.DeliveryRule?alt=com.azure.resourcemanager.cdn.models.DeliveryRule&text=DeliveryRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cdn.models.DeliveryRule.withConditions(java.util.List<com.azure.resourcemanager.cdn.models.DeliveryRuleCondition>)"
fullName: "com.azure.resourcemanager.cdn.models.DeliveryRule.withConditions(List<DeliveryRuleCondition> conditions)"
name: "withConditions(List<DeliveryRuleCondition> conditions)"
nameWithType: "DeliveryRule.withConditions(List<DeliveryRuleCondition> conditions)"
summary: "Set the conditions property: A list of conditions that must be matched for the actions to be executed."
parameters:
- description: "the conditions value to set."
name: "conditions"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.cdn.models.DeliveryRuleCondition?alt=com.azure.resourcemanager.cdn.models.DeliveryRuleCondition&text=DeliveryRuleCondition\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public DeliveryRule withConditions(List<DeliveryRuleCondition> conditions)"
desc: "Set the conditions property: A list of conditions that must be matched for the actions to be executed."
returns:
description: "the DeliveryRule object itself."
type: "<xref href=\"com.azure.resourcemanager.cdn.models.DeliveryRule?alt=com.azure.resourcemanager.cdn.models.DeliveryRule&text=DeliveryRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cdn.models.DeliveryRule.withName(java.lang.String)"
fullName: "com.azure.resourcemanager.cdn.models.DeliveryRule.withName(String name)"
name: "withName(String name)"
nameWithType: "DeliveryRule.withName(String name)"
summary: "Set the name property: Name of the rule."
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 DeliveryRule withName(String name)"
desc: "Set the name property: Name of the rule."
returns:
description: "the DeliveryRule object itself."
type: "<xref href=\"com.azure.resourcemanager.cdn.models.DeliveryRule?alt=com.azure.resourcemanager.cdn.models.DeliveryRule&text=DeliveryRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.cdn.models.DeliveryRule.withOrder(int)"
fullName: "com.azure.resourcemanager.cdn.models.DeliveryRule.withOrder(int order)"
name: "withOrder(int order)"
nameWithType: "DeliveryRule.withOrder(int order)"
summary: "Set the order property: The order in which the rules are applied for the endpoint."
parameters:
- description: "the order value to set."
name: "order"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public DeliveryRule withOrder(int order)"
desc: "Set the order property: The order in which the rules are applied for the endpoint. Possible values \\{0,1,2,3,\\\\u2026\\\\u2026\\\\u2026\\}. A rule with a lesser order will be applied before a rule with a greater order. Rule with order 0 is a special rule. It does not require any condition and actions listed in it will always be applied."
returns:
description: "the DeliveryRule object itself."
type: "<xref href=\"com.azure.resourcemanager.cdn.models.DeliveryRule?alt=com.azure.resourcemanager.cdn.models.DeliveryRule&text=DeliveryRule\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "A rule that specifies a set of actions and conditions."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.cdn.models.DeliveryRule?alt=com.azure.resourcemanager.cdn.models.DeliveryRule&text=DeliveryRule\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.cdn.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-cdn:2.42.0