Class MigrationWebApplicationFirewallMapping

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

public final class MigrationWebApplicationFirewallMapping extends Object
Web Application Firewall Mapping.
  • Constructor Details

    • MigrationWebApplicationFirewallMapping

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

    • migratedFrom

      public ResourceReference migratedFrom()
      Get the migratedFrom property: Migration From Waf policy.
      Returns:
      the migratedFrom value.
    • withMigratedFrom

      public MigrationWebApplicationFirewallMapping withMigratedFrom(ResourceReference migratedFrom)
      Set the migratedFrom property: Migration From Waf policy.
      Parameters:
      migratedFrom - the migratedFrom value to set.
      Returns:
      the MigrationWebApplicationFirewallMapping object itself.
    • migratedTo

      public ResourceReference migratedTo()
      Get the migratedTo property: Migration to Waf policy.
      Returns:
      the migratedTo value.
    • withMigratedTo

      public MigrationWebApplicationFirewallMapping withMigratedTo(ResourceReference migratedTo)
      Set the migratedTo property: Migration to Waf policy.
      Parameters:
      migratedTo - the migratedTo value to set.
      Returns:
      the MigrationWebApplicationFirewallMapping object itself.
    • validate

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