Class ProfileChangeSkuWafMapping

java.lang.Object
com.azure.resourcemanager.cdn.models.ProfileChangeSkuWafMapping

public final class ProfileChangeSkuWafMapping extends Object
Parameters required for profile upgrade.
  • Constructor Details

    • ProfileChangeSkuWafMapping

      public ProfileChangeSkuWafMapping()
      Creates an instance of ProfileChangeSkuWafMapping class.
  • Method Details

    • securityPolicyName

      public String securityPolicyName()
      Get the securityPolicyName property: The security policy name.
      Returns:
      the securityPolicyName value.
    • withSecurityPolicyName

      public ProfileChangeSkuWafMapping withSecurityPolicyName(String securityPolicyName)
      Set the securityPolicyName property: The security policy name.
      Parameters:
      securityPolicyName - the securityPolicyName value to set.
      Returns:
      the ProfileChangeSkuWafMapping object itself.
    • changeToWafPolicy

      public ResourceReference changeToWafPolicy()
      Get the changeToWafPolicy property: The new waf resource for the security policy to use.
      Returns:
      the changeToWafPolicy value.
    • withChangeToWafPolicy

      public ProfileChangeSkuWafMapping withChangeToWafPolicy(ResourceReference changeToWafPolicy)
      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.