DeliveryRuleAction Class
- java.
lang. Object - com.
azure. resourcemanager. cdn. models. DeliveryRuleAction
- com.
Implements
public class DeliveryRuleAction
implements JsonSerializable<DeliveryRuleAction>
An action for the delivery rule.
Constructor Summary
Constructor | Description |
---|---|
DeliveryRuleAction() |
Creates an instance of Delivery |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Delivery |
fromJson(JsonReader jsonReader)
Reads an instance of Delivery |
Delivery |
name()
Get the name property: The name of the action for the delivery rule. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
DeliveryRuleAction
public DeliveryRuleAction()
Creates an instance of DeliveryRuleAction class.
Method Details
fromJson
public static DeliveryRuleAction fromJson(JsonReader jsonReader)
Reads an instance of DeliveryRuleAction from the JsonReader.
Parameters:
Returns:
Throws:
name
public DeliveryRuleActionValue name()
Get the name property: The name of the action for the delivery rule.
Returns:
toJson
validate
public void validate()
Validates the instance.