class EncryptedSnapshotService {

    public void deleteResources(AuthenticatedContext ac, AmazonEC2Client client, List<CloudResource> resources) {
        LOGGER.debug("Deleting attached EBS volume encryption related resources: {}", ac.getCloudContext().getId());
        if (resources != null && !resources.isEmpty()) {
            deleteSnapshotResources(client, resources);
            deleteVolumeResources(client, resources);
        }
    }

}