Class DeliveryRuleHostnameCondition
- java.lang.Object
-
- com.azure.resourcemanager.cdn.models.DeliveryRuleCondition
-
- com.azure.resourcemanager.cdn.models.DeliveryRuleHostnameCondition
-
public final class DeliveryRuleHostnameCondition extends DeliveryRuleCondition
Defines the HostName condition for the delivery rule.
-
-
Constructor Summary
Constructors Constructor Description DeliveryRuleHostnameCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HostnameMatchConditionParametersparameters()Get the parameters property: Defines the parameters for the condition.voidvalidate()Validates the instance.DeliveryRuleHostnameConditionwithParameters(HostnameMatchConditionParameters parameters)Set the parameters property: Defines the parameters for the condition.
-
-
-
Method Detail
-
parameters
public HostnameMatchConditionParameters parameters()
Get the parameters property: Defines the parameters for the condition.- Returns:
- the parameters value.
-
withParameters
public DeliveryRuleHostnameCondition withParameters(HostnameMatchConditionParameters parameters)
Set the parameters property: Defines the parameters for the condition.- Parameters:
parameters- the parameters value to set.- Returns:
- the DeliveryRuleHostnameCondition object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classDeliveryRuleCondition- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-