Class MigrationParameters

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

public final class MigrationParameters extends Object
Request body for Migrate operation.
  • Constructor Details

    • MigrationParameters

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

    • sku

      public Sku sku()
      Get the sku property: Sku for the migration.
      Returns:
      the sku value.
    • withSku

      public MigrationParameters withSku(Sku sku)
      Set the sku property: Sku for the migration.
      Parameters:
      sku - the sku value to set.
      Returns:
      the MigrationParameters object itself.
    • classicResourceReference

      public ResourceReference classicResourceReference()
      Get the classicResourceReference property: Resource reference of the classic cdn profile or classic frontdoor that need to be migrated.
      Returns:
      the classicResourceReference value.
    • withClassicResourceReference

      public MigrationParameters withClassicResourceReference(ResourceReference classicResourceReference)
      Set the classicResourceReference property: Resource reference of the classic cdn profile or classic frontdoor that need to be migrated.
      Parameters:
      classicResourceReference - the classicResourceReference value to set.
      Returns:
      the MigrationParameters object itself.
    • profileName

      public String profileName()
      Get the profileName property: Name of the new profile that need to be created.
      Returns:
      the profileName value.
    • withProfileName

      public MigrationParameters withProfileName(String profileName)
      Set the profileName property: Name of the new profile that need to be created.
      Parameters:
      profileName - the profileName value to set.
      Returns:
      the MigrationParameters object itself.
    • migrationWebApplicationFirewallMappings

      public List<MigrationWebApplicationFirewallMapping> migrationWebApplicationFirewallMappings()
      Get the migrationWebApplicationFirewallMappings property: Waf mapping for the migrated profile.
      Returns:
      the migrationWebApplicationFirewallMappings value.
    • withMigrationWebApplicationFirewallMappings

      public MigrationParameters withMigrationWebApplicationFirewallMappings(List<MigrationWebApplicationFirewallMapping> migrationWebApplicationFirewallMappings)
      Set the migrationWebApplicationFirewallMappings property: Waf mapping for the migrated profile.
      Parameters:
      migrationWebApplicationFirewallMappings - the migrationWebApplicationFirewallMappings value to set.
      Returns:
      the MigrationParameters object itself.
    • validate

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