### YamlMime:JavaType uid: "com.azure.resourcemanager.cdn.models.DeliveryRuleAction" fullName: "com.azure.resourcemanager.cdn.models.DeliveryRuleAction" name: "DeliveryRuleAction" nameWithType: "DeliveryRuleAction" summary: "An action for the delivery rule." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public class **DeliveryRuleAction**
implements <>" constructors: - uid: "com.azure.resourcemanager.cdn.models.DeliveryRuleAction.DeliveryRuleAction()" fullName: "com.azure.resourcemanager.cdn.models.DeliveryRuleAction.DeliveryRuleAction()" name: "DeliveryRuleAction()" nameWithType: "DeliveryRuleAction.DeliveryRuleAction()" summary: "Creates an instance of DeliveryRuleAction class." syntax: "public DeliveryRuleAction()" desc: "Creates an instance of DeliveryRuleAction class." methods: - uid: "com.azure.resourcemanager.cdn.models.DeliveryRuleAction.fromJson(com.azure.json.JsonReader)" fullName: "com.azure.resourcemanager.cdn.models.DeliveryRuleAction.fromJson(JsonReader jsonReader)" name: "fromJson(JsonReader jsonReader)" nameWithType: "DeliveryRuleAction.fromJson(JsonReader jsonReader)" summary: "Reads an instance of DeliveryRuleAction from the JsonReader." modifiers: - "static" parameters: - description: "The JsonReader being read." name: "jsonReader" type: "" syntax: "public static DeliveryRuleAction fromJson(JsonReader jsonReader)" exceptions: - description: "If an error occurs while reading the DeliveryRuleAction." type: "IOException" desc: "Reads an instance of DeliveryRuleAction from the JsonReader." returns: description: "An instance of DeliveryRuleAction if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null." type: "" - uid: "com.azure.resourcemanager.cdn.models.DeliveryRuleAction.name()" fullName: "com.azure.resourcemanager.cdn.models.DeliveryRuleAction.name()" name: "name()" nameWithType: "DeliveryRuleAction.name()" summary: "Get the name property: The name of the action for the delivery rule." syntax: "public DeliveryRuleActionValue name()" desc: "Get the name property: The name of the action for the delivery rule." returns: description: "the name value." type: "" - uid: "com.azure.resourcemanager.cdn.models.DeliveryRuleAction.toJson(com.azure.json.JsonWriter)" fullName: "com.azure.resourcemanager.cdn.models.DeliveryRuleAction.toJson(JsonWriter jsonWriter)" name: "toJson(JsonWriter jsonWriter)" nameWithType: "DeliveryRuleAction.toJson(JsonWriter jsonWriter)" parameters: - name: "jsonWriter" type: "" syntax: "public JsonWriter toJson(JsonWriter jsonWriter)" exceptions: - type: "IOException" returns: type: "" - uid: "com.azure.resourcemanager.cdn.models.DeliveryRuleAction.validate()" fullName: "com.azure.resourcemanager.cdn.models.DeliveryRuleAction.validate()" name: "validate()" nameWithType: "DeliveryRuleAction.validate()" summary: "Validates the instance." syntax: "public void validate()" desc: "Validates the instance." type: "class" desc: "An action for the delivery rule." implements: - "<>" metadata: {} package: "com.azure.resourcemanager.cdn.models" artifact: com.azure.resourcemanager:azure-resourcemanager-cdn:2.42.0