Class CanMigrateParameters

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

public final class CanMigrateParameters extends Object
Request body for CanMigrate operation.
  • Constructor Details

    • CanMigrateParameters

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

    • 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 CanMigrateParameters 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 CanMigrateParameters object itself.
    • validate

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