Class ProfileChangeSkuWafMapping
java.lang.Object
com.azure.resourcemanager.cdn.models.ProfileChangeSkuWafMapping
Parameters required for profile upgrade.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ProfileChangeSkuWafMapping class. -
Method Summary
Modifier and TypeMethodDescriptionGet the changeToWafPolicy property: The new waf resource for the security policy to use.Get the securityPolicyName property: The security policy name.voidvalidate()Validates the instance.withChangeToWafPolicy(ResourceReference changeToWafPolicy) Set the changeToWafPolicy property: The new waf resource for the security policy to use.withSecurityPolicyName(String securityPolicyName) Set the securityPolicyName property: The security policy name.
-
Constructor Details
-
ProfileChangeSkuWafMapping
public ProfileChangeSkuWafMapping()Creates an instance of ProfileChangeSkuWafMapping class.
-
-
Method Details
-
securityPolicyName
Get the securityPolicyName property: The security policy name.- Returns:
- the securityPolicyName value.
-
withSecurityPolicyName
Set the securityPolicyName property: The security policy name.- Parameters:
securityPolicyName- the securityPolicyName value to set.- Returns:
- the ProfileChangeSkuWafMapping object itself.
-
changeToWafPolicy
Get the changeToWafPolicy property: The new waf resource for the security policy to use.- Returns:
- the changeToWafPolicy value.
-
withChangeToWafPolicy
Set the changeToWafPolicy property: The new waf resource for the security policy to use.- Parameters:
changeToWafPolicy- the changeToWafPolicy value to set.- Returns:
- the ProfileChangeSkuWafMapping object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-