共用方式為


DeliveryRuleAction Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.models.DeliveryRuleAction

Implements

public class DeliveryRuleAction
implements JsonSerializable<DeliveryRuleAction>

An action for the delivery rule.

Constructor Summary

Constructor Description
DeliveryRuleAction()

Creates an instance of DeliveryRuleAction class.

Method Summary

Modifier and Type Method and Description
static DeliveryRuleAction fromJson(JsonReader jsonReader)

Reads an instance of DeliveryRuleAction from the JsonReader.

DeliveryRuleActionValue name()

Get the name property: The name of the action for the delivery rule.

JsonWriter 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:

jsonReader - The JsonReader being read.

Returns:

An instance of DeliveryRuleAction if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DeliveryRuleAction.

name

public DeliveryRuleActionValue name()

Get the name property: The name of the action for the delivery rule.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to