Class BackupPolicy

    • Constructor Detail

      • BackupPolicy

        public BackupPolicy()
    • Method Detail

      • migrationState

        public BackupPolicyMigrationState migrationState()
        Get the migrationState property: The object representing the state of the migration between the backup policies.
        Returns:
        the migrationState value.
      • withMigrationState

        public BackupPolicy withMigrationState​(BackupPolicyMigrationState migrationState)
        Set the migrationState property: The object representing the state of the migration between the backup policies.
        Parameters:
        migrationState - the migrationState value to set.
        Returns:
        the BackupPolicy object itself.
      • validate

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