Class CanMigrateProperties

java.lang.Object
com.azure.resourcemanager.cdn.fluent.models.CanMigrateProperties

public final class CanMigrateProperties extends Object
The CanMigrateProperties model.
  • Constructor Details

    • CanMigrateProperties

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

    • canMigrate

      public Boolean canMigrate()
      Get the canMigrate property: Flag that says if the profile can be migrated.
      Returns:
      the canMigrate value.
    • defaultSku

      public CanMigrateDefaultSku defaultSku()
      Get the defaultSku property: Recommended sku for the migration.
      Returns:
      the defaultSku value.
    • errors

      public List<MigrationErrorType> errors()
      Get the errors property: The errors property.
      Returns:
      the errors value.
    • withErrors

      public CanMigrateProperties withErrors(List<MigrationErrorType> errors)
      Set the errors property: The errors property.
      Parameters:
      errors - the errors value to set.
      Returns:
      the CanMigrateProperties object itself.
    • validate

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