Class DeliveryRuleRouteConfigurationOverrideAction
java.lang.Object
com.azure.resourcemanager.cdn.models.DeliveryRuleAction
com.azure.resourcemanager.cdn.models.DeliveryRuleRouteConfigurationOverrideAction
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DeliveryRuleAction>
Defines the route configuration override action for the delivery rule. Only applicable to Frontdoor Standard/Premium
Profiles.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DeliveryRuleRouteConfigurationOverrideAction class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DeliveryRuleRouteConfigurationOverrideAction from the JsonReader.name()Get the name property: The name of the action for the delivery rule.Get the parameters property: Defines the parameters for the action.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Set the parameters property: Defines the parameters for the action.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
DeliveryRuleRouteConfigurationOverrideAction
public DeliveryRuleRouteConfigurationOverrideAction()Creates an instance of DeliveryRuleRouteConfigurationOverrideAction class.
-
-
Method Details
-
name
Get the name property: The name of the action for the delivery rule.- Overrides:
namein classDeliveryRuleAction- Returns:
- the name value.
-
parameters
Get the parameters property: Defines the parameters for the action.- Returns:
- the parameters value.
-
withParameters
public DeliveryRuleRouteConfigurationOverrideAction withParameters(RouteConfigurationOverrideActionParameters parameters) Set the parameters property: Defines the parameters for the action.- Parameters:
parameters- the parameters value to set.- Returns:
- the DeliveryRuleRouteConfigurationOverrideAction object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classDeliveryRuleAction- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<DeliveryRuleAction>- Overrides:
toJsonin classDeliveryRuleAction- Throws:
IOException
-
fromJson
public static DeliveryRuleRouteConfigurationOverrideAction fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DeliveryRuleRouteConfigurationOverrideAction from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DeliveryRuleRouteConfigurationOverrideAction if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the DeliveryRuleRouteConfigurationOverrideAction.
-