Class MigrationRequestProperties


  • public final class MigrationRequestProperties
    extends Object
    Properties for arm migration.
    • Constructor Detail

      • MigrationRequestProperties

        public MigrationRequestProperties()
    • Method Detail

      • operation

        public Operation operation()
        Get the operation property: The type of operation for migration.
        Returns:
        the operation value.
      • withOperation

        public MigrationRequestProperties withOperation​(Operation operation)
        Set the operation property: The type of operation for migration.
        Parameters:
        operation - the operation value to set.
        Returns:
        the MigrationRequestProperties object itself.
      • migrationPath

        public String migrationPath()
        Get the migrationPath property: The path to the legacy object to migrate.
        Returns:
        the migrationPath value.
      • withMigrationPath

        public MigrationRequestProperties withMigrationPath​(String migrationPath)
        Set the migrationPath property: The path to the legacy object to migrate.
        Parameters:
        migrationPath - the migrationPath value to set.
        Returns:
        the MigrationRequestProperties object itself.
      • validate

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