Class SecurityPolicyProperties

java.lang.Object
com.azure.resourcemanager.cdn.models.AfdStateProperties
com.azure.resourcemanager.cdn.fluent.models.SecurityPolicyProperties

public final class SecurityPolicyProperties extends AfdStateProperties
The json object that contains properties required to create a security policy.
  • Constructor Details

    • SecurityPolicyProperties

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

    • profileName

      public String profileName()
      Get the profileName property: The name of the profile which holds the security policy.
      Returns:
      the profileName value.
    • parameters

      Get the parameters property: object which contains security policy parameters.
      Returns:
      the parameters value.
    • withParameters

      Set the parameters property: object which contains security policy parameters.
      Parameters:
      parameters - the parameters value to set.
      Returns:
      the SecurityPolicyProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class AfdStateProperties
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.